1 # Maintainer: Justin Wilcox <nat1192@gmail.com>
2 # Contributor: Henning Bekel <h dot bekel at googlemail dot com>
3 # Contributor: Paolo Giangrandi <peoro.noob@gmail.com>
8 pkgdesc="2D game development library for the C++ programming language."
10 url="http://libgosu.org/"
12 depends=('sdl_ttf' 'pango' 'libgl' 'libxinerama' 'openal' 'libvorbis' 'libsndfile' 'freeimage')
13 source=("http://www.libgosu.org/downloads/gosu-linux-$pkgver.tar.gz")
15 noextract=("gosu-linux-$pkgver.tar.gz")
16 md5sums=('18779d0fa339dc505ddf9e3ff1b2cb24')
19 #As of 0.7.41 (at least), the upstream tarballs can't be extracted by
20 # bsdtar. Use tar instead:
22 tar -xzf "gosu-linux-${pkgver}.tar.gz"
25 ./configure --prefix=/usr
30 install -D -m644 $srcdir/$pkgname/lib/libgosu.a $pkgdir/usr/lib/libgosu.a
31 install -D -m755 $srcdir/$pkgname/lib/libgosu.so $pkgdir/usr/lib/libgosu.so
32 install -D -m755 $srcdir/$pkgname/bin/gosu-config $pkgdir/usr/bin/gosu-config
34 install -d $pkgdir/usr/include/Gosu
35 install -D -m644 $srcdir/$pkgname/Gosu/*.hpp $pkgdir/usr/include/Gosu
37 install -D -m 644 $srcdir/$pkgname/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING