daily pastebin goal
15%
SHARE
TWEET

unnethack PKGBUILD

a guest Jun 26th, 2013 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Joshua Hunt <snark1994 at gmail dot com>
  2. # Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
  3. pkgname=unnethack
  4. pkgver=4.0.0
  5. _pkgverdate=20120401
  6. pkgrel=6
  7. pkgdesc="Variant of NetHack. It features more randomness, more levels, more challenges and more fun than vanilla NetHack."
  8. arch=('i686' 'x86_64')
  9. options=(!makeflags)
  10. url="http://sourceforge.net/apps/trac/unnethack/"
  11. license=('custom')
  12. depends=('ncurses' 'glibc')
  13. source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver-$_pkgverdate.tar.gz
  14.         unnethack.sh)
  15.   md5sums=('ad3cb590b54b66c8766974af50bce169'
  16.            'adf530300dee3919437b765246718456')
  17.  
  18.  
  19. build() {
  20.   cd "$srcdir/$pkgname-$pkgver-$_pkgverdate"
  21.  
  22.   ./configure --prefix=/usr/share/unnethack --with-owner=`id -un` --with-group=`id -gn` --enable-wizmode=`id -un` --enable-curses-graphics
  23.   make
  24. }
  25.  
  26. package() {
  27.   cd "$srcdir/$pkgname-$pkgver-$_pkgverdate"
  28.   make DESTDIR="$pkgdir" install
  29.  
  30.   install -T -D -m 755 $srcdir/unnethack.sh $pkgdir/usr/bin/unnethack
  31.   install -D -m 644 dat/license $pkgdir/usr/share/licenses/$pkgname/license
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top