1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
6 pkgdesc="Variant of NetHack. It features more randomness, more levels, more challenges and more fun than vanilla NetHack."
8 url="http://sourceforge.net/apps/trac/unnethack/"
10 depends=('ncurses' 'glibc' 'flex' 'bison')
11 source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-$pkgverdate.tar.gz
13 md5sums=('07bc892430554461184b159d378cf9e6'
14 'adf530300dee3919437b765246718456')
17 cd "$srcdir/$pkgname-$pkgver-$pkgverdate"
19 ./configure --prefix=/usr/share/unnethack --with-owner=`id -un` --with-group=`id -gn` --enable-wizmode=`id -un`
21 make DESTDIR="$pkgdir" install
23 install -T -D -m 755 $srcdir/unnethack.sh $pkgdir/usr/bin/unnethack
24 install -D -m 644 dat/license $pkgdir/usr/share/licenses/$pkgname/license
27 # vim:set ts=2 sw=2 et: