1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
3 # Contributor: SleepyDog
8 pkgdesc="The OpenGL Extension Wrangler Library"
10 url="https://github.com/nigels-com/glew"
11 license=('BSD' 'MIT' 'GPL')
12 depends=('libxmu' 'libxi' 'glu')
13 provides=('libGLEW.so')
14 # https://sourceforge.net/projects/glew/files/glew/
15 source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
17 sha1sums=('22d6e9b9e691080eb6313407dbf51cfebc3345ea'
18 'e1bfa1e6ae3c7a553920978111092ea9d3a33c95')
21 cd ${pkgname}-${pkgver}
22 patch -Np1 -i ../glew-install.patch
26 cd ${pkgname}-${pkgver}
33 cd ${pkgname}-${pkgver}
34 make install.all DESTDIR="$pkgdir" \
36 install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"