updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / nlarn / PKGBUILD
blob4ddcde128750882dae9a9dedacc0bf34bd404bc4
1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
2 pkgname=nlarn
3 pkgver=0.6.1
4 pkgrel=1
5 pkgdesc="A rewrite of Larn that tries to improve the gameplay by using state-of-the-art roguelike technology and a simplified user interface."
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/projects/nlarn/"
8 license=('GPL3')
9 depends=('glib2' 'lua' 'zlib')
10 makedepends=('premake4')
11 source=(http://sourceforge.net/projects/nlarn/files/nlarn/$pkgver/nlarn-$pkgver.tar.gz
12         nlarn.sh)
13 md5sums=('eb2630afbafdc1373cc5f981ca076a12'
14          'e154579fd87af4ca708c8b3b4c565839')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   premake4 gmake
20   make
22   _dest_dir="$pkgdir/usr/share/nlarn"
23   mkdir -p $_dest_dir || return 1
24   mkdir -p $_dest_dir/lib || return 1
26   install -D -m 644 lib/* "$_dest_dir/lib/"
27   install -D -m 755 nlarn "$_dest_dir/nlarn"
28   install -T -D -m 755 $srcdir/nlarn.sh $pkgdir/usr/bin/nlarn
31 # vim:set ts=2 sw=2 et: