summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/glew/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD
index 291abce..f72d477 100644
--- a/abs/extra/glew/PKGBUILD
+++ b/abs/extra/glew/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 98297 2010-11-06 17:51:38Z stephane $
+# $Id: PKGBUILD 147734 2012-01-27 15:57:44Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: SleepyDog
pkgname=glew
-pkgver=1.5.7
-pkgrel=1
+pkgver=1.7.0
+pkgrel=2
pkgdesc="The OpenGL Extension Wrangler Library"
arch=('i686' 'x86_64')
url="http://glew.sourceforge.net"
license=('BSD' 'MIT' 'GPL')
depends=('libxmu' 'libxi' 'mesa')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
-sha1sums=('4adc816afbfb65a4969484d10343a88c117ca989')
+sha1sums=('9266f2360c1687a96f2ea06419671d370b2928d1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -21,8 +21,9 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make GLEW_DEST="${pkgdir}/usr" install
+ make GLEW_DEST="${pkgdir}/usr" install.all
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent
+ rm "${pkgdir}"/usr/lib/{libGLEW,libGLEWmx}.a
+ chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+}