updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / glee / PKGBUILD
blob857a44324fc3356106935b0b25c23f74381e552f
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Philipp Brüschweiler <blei42 at gmail dot com >
4 pkgname=glee
5 pkgver=5.4
6 pkgrel=3
7 pkgdesc="Free cross-platform extension loading library for OpenGL."
8 arch=('i686' 'x86_64')
9 url="http://elf-stone.com/glee.php"
10 license=('BSD')
11 depends=('libgl')
12 source=("http://elf-stone.com/downloads/GLee/GLee-5.4.0-src.tar.gz")
13 md5sums=('0bd03db136dbc075488b6c6e83f326ae')
15 build() {
16   cd "$srcdir"
18   [ "$CARCH" = 'x86_64' ] && export CXXFLAGS="$CXXFLAGS -fPIC"
20   ./configure --prefix=/usr
21   make
24 package() {
25   cd "$srcdir"
27   # lib and headers
28   install -Dm755 libGLee.so "$pkgdir/usr/lib/libGLee.so"
29   install -Dm644 GLee.h "$pkgdir/usr/include/GLee.h"
31   # license
32   install -Dm644 readme.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33   sed -i '9,32!d' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36 # vim:set ts=2 sw=2 et: