summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/glew/PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD
index 5a71939..4731ab8 100644
--- a/abs/extra/glew/PKGBUILD
+++ b/abs/extra/glew/PKGBUILD
@@ -1,29 +1,31 @@
-# $Id: PKGBUILD 147734 2012-01-27 15:57:44Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# $Id$
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: SleepyDog
pkgname=glew
-pkgver=1.7.0
-pkgrel=3
+pkgver=1.11.0
+pkgrel=1
pkgdesc="The OpenGL Extension Wrangler Library"
arch=('i686' 'x86_64')
url="http://glew.sourceforge.net"
license=('BSD' 'MIT' 'GPL')
-depends=('libxmu' 'libxi' 'mesa')
+depends=('libxmu' 'libxi' 'glu')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
-sha1sums=('9266f2360c1687a96f2ea06419671d370b2928d1')
+sha1sums=('9bb5c87c055acd122a4956112bbb18ee72c38e5c')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
+
sed -i 's|lib64|lib|' config/Makefile.linux
+ sed -i '/^.PHONY: .*\.pc$/d' Makefile
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make GLEW_DEST="${pkgdir}/usr" install.all
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
- chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+# chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
}