diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-01-03 23:39:54 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-01-03 23:39:54 (GMT) |
commit | 1134708f1cf2458008410dea8cfc8ff33bd4df1d (patch) | |
tree | 241eeaef1d439ebd31eab853ea3e3e0ea3d73efd /abs | |
parent | bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d (diff) | |
download | linhes_pkgbuild-1134708f1cf2458008410dea8cfc8ff33bd4df1d.zip linhes_pkgbuild-1134708f1cf2458008410dea8cfc8ff33bd4df1d.tar.gz linhes_pkgbuild-1134708f1cf2458008410dea8cfc8ff33bd4df1d.tar.bz2 |
glew: upgrade. Dep of mesa-demo
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/glew/PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/abs/extra/glew/PKGBUILD b/abs/extra/glew/PKGBUILD index 1db995d..389b4d4 100644 --- a/abs/extra/glew/PKGBUILD +++ b/abs/extra/glew/PKGBUILD @@ -1,23 +1,29 @@ -# $Id: PKGBUILD 27226 2009-02-17 05:43:56Z eric $ -# AUR-Maintainer: William Rea <sillywilly@gmail.com> +# $Id$ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: SleepyDog pkgname=glew -pkgver=1.5.5 +pkgver=1.5.7 pkgrel=1 -pkgdesc="A cross-platform C/C++ extension loading library" +pkgdesc="The OpenGL Extension Wrangler Library" arch=('i686' 'x86_64') url="http://glew.sourceforge.net" license=('BSD' 'MIT' 'GPL') depends=('libxmu' 'libxi' 'mesa') -makedepends=('hd2u') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz) +sha1sums=('4adc816afbfb65a4969484d10343a88c117ca989') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - dos2unix config/config.guess - make || return 1 - make GLEW_DEST=${startdir}/pkg/usr LIBDIR=${startdir}/pkg/usr/lib install || return 1 - install -D -m644 LICENSE.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE.txt || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|lib64|lib|' config/Makefile.linux + make } -md5sums=('3621f27cfd3e33d5dbcc1111ecb5b762') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GLEW_DEST="${pkgdir}/usr" install + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent + |