diff options
Diffstat (limited to 'extra/glu/PKGBUILD')
-rw-r--r-- | extra/glu/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/glu/PKGBUILD b/extra/glu/PKGBUILD new file mode 100644 index 000000000..a3905a97e --- /dev/null +++ b/extra/glu/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 168550 2012-10-13 11:42:49Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Laurent Carlier <lordheavym@gmail.com> + +pkgname=glu +pkgver=9.0.0 +pkgrel=1 +pkgdesc="Mesa OpenGL Utility library" +arch=('i686' 'x86_64') +url="http://cgit.freedesktop.org/mesa/glu/" +license=('LGPL') +depends=('libgl') +makedepends=('mesa') +options=('!libtool') +source=(ftp://ftp.freedesktop.org/pub/mesa/$pkgname/$pkgname-$pkgver.tar.bz2) +sha256sums=('1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |