1 # Maintainer : philefou <tuxication AT gmail DOT com>
2 # Contributor: lindquist <tomas@famolsen.dk>
3 # Contributor: Christoph Siegenthaler <csi@gmx.ch>
4 # Contributor: Mihai Militaru <mihai.militaru@ephemeros.org>
5 # Contributor: SpepS <dreamspepser at yahoo dot it>
10 pkgdesc="A free, open source, portable framework for OpenGL application development."
11 arch=('i686' 'x86_64')
12 url="http://www.glfw.org/"
13 license=('custom:ZLIB')
14 depends=('libgl' 'libxrandr')
15 source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
16 md5sums=('bb4f33b43e40f8cd3015a653dca02ed1')
19 cd "$srcdir/$pkgname-$pkgver"
25 cd "$srcdir/$pkgname-$pkgver"
27 make PREFIX="$pkgdir/usr" x11-dist-install
30 install -Dm644 COPYING.txt \
31 "$pkgdir/usr/share/licenses/$pkgname/COPYING"
34 install -d "$pkgdir/usr/share/doc/$pkgname"
35 install -Dm644 docs/*.pdf "$pkgdir/usr/share/doc/$pkgname"
37 # fix pc file prefix path
38 sed -i "s|$pkgdir||g" "$pkgdir/usr/lib/pkgconfig/lib$pkgname.pc"