From 1134708f1cf2458008410dea8cfc8ff33bd4df1d Mon Sep 17 00:00:00 2001 From: Michael Hanson <hansonorders@verizon.net> Date: Mon, 3 Jan 2011 23:39:54 +0000 Subject: glew: upgrade. Dep of mesa-demo --- abs/extra/glew/PKGBUILD | 28 +++++++++++++++++----------- 1 file 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 + -- cgit v0.12