diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-09-08 19:32:15 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-09-08 19:32:15 -0300 |
commit | 64a5b22f9d09f6c7fdea492b9d95117c7d975f84 (patch) | |
tree | 1868c7b008b7ca816b33dcab82de8d60dc3d2005 /pcr/libglu-git/PKGBUILD | |
parent | a972a92806b18e9eee868d9032b7024fbf557e2b (diff) | |
parent | 07477e1e9bbefaa3fa0f8bf403ff8961b46b073e (diff) | |
download | abslibre-64a5b22f9d09f6c7fdea492b9d95117c7d975f84.tar.gz abslibre-64a5b22f9d09f6c7fdea492b9d95117c7d975f84.tar.bz2 abslibre-64a5b22f9d09f6c7fdea492b9d95117c7d975f84.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/libglu-git/PKGBUILD')
-rw-r--r-- | pcr/libglu-git/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pcr/libglu-git/PKGBUILD b/pcr/libglu-git/PKGBUILD new file mode 100644 index 000000000..46ff7a358 --- /dev/null +++ b/pcr/libglu-git/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> + +pkgname=libglu-git +pkgver=20120908 +pkgrel=1 +pkgdesc='Mesa GLU utility library' +arch=( + i686 + x86_64 + mips64el +) +url=http://mesa.freedesktop.org/ +license=( + LGPL +) +depends=( + libgl-git +) +makedepends=( + git + mesa-git +) + +_gitroot=git://cgit.freedesktop.org/mesa/glu/ +_gitname=glu + +build() { + msg 'Connecting to git.freedesktop.org GIT server....' + if [ -d $_gitname ] ; then + cd $_gitname && git pull origin + else + git clone $_gitroot --depth 1 + fi + msg 'GIT checkout done or server timeout' + msg 'Starting make...' + + cd $srcdir + + # Cleanup and prepare the build dir + [ -d build ] && rm -rf build + cp -r $_gitname build + cd build + + autoreconf -vfi + ./autogen.sh --prefix=/usr + make V=0 +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} |