updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / unnethack / PKGBUILD
bloba3cb5e51336a4c5b125438f9e55fa715ecb02faf
1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
2 pkgname=unnethack
3 pkgver=3.6.0
4 pkgverdate=20111008
5 pkgrel=2
6 pkgdesc="Variant of NetHack. It features more randomness, more levels, more challenges and more fun than vanilla NetHack."
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/apps/trac/unnethack/"
9 license=('custom')
10 depends=('ncurses' 'glibc' 'flex' 'bison')
11 source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-$pkgverdate.tar.gz
12         unnethack.sh)
13 md5sums=('07bc892430554461184b159d378cf9e6'
14          'adf530300dee3919437b765246718456')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver-$pkgverdate"
19   ./configure --prefix=/usr/share/unnethack --with-owner=`id -un` --with-group=`id -gn` --enable-wizmode=`id -un`
20   make
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: