1 # Maintainer: Michael Kogan <michael dot kogan at gmx dot net>
6 pkgdesc="One of the easiest 2D game libraries for C++ and Python"
8 url="http://jngl.watteimdocht.de/"
10 depends=('boost' 'freetype2' 'fontconfig' 'glib2' 'libjpeg6' 'libpng12' 'libvorbis' 'libxext' 'libxxf86vm' 'mesa' 'openal' 'python2')
11 makedepends=('scons' 'git')
12 source=('python27.patch')
13 md5sums=('58ec66f99186c5e491a4657559f203d1')
14 sha1sums=('61c55403238c7c7d95de87bb720230f47fd75a62')
17 git clone https://github.com/jhasse/JNGL.git
18 patch $srcdir/JNGL/SConstruct < python27.patch
20 scons python=1|| return 1
21 ./install.sh $pkgdir/usr || return 1
22 install -D -m644 "$srcdir/JNGL/python/libjngl.so" "${pkgdir}/usr/lib/python2.7/site-packages/jngl.so" || return 1