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')
15 # https://sourceforge.net/projects/glew/files/glew/
16 source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz
18 sha1sums=('22d6e9b9e691080eb6313407dbf51cfebc3345ea'
19 'e1bfa1e6ae3c7a553920978111092ea9d3a33c95')
22 cd ${pkgname}-${pkgver}
23 patch -Np1 -i ../glew-install.patch
27 cd ${pkgname}-${pkgver}
34 cd ${pkgname}-${pkgver}
35 make install.all DESTDIR="$pkgdir" \
37 install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"