Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 5th, 2012  |  syntax: None  |  size: 0.90 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Kyle Keen <keenerd@gmail.com>
  2. pkgname=primerl
  3. pkgver=1.8a
  4. pkgrel=2
  5. pkgdesc="A sci-fi roguelike, based on ZAPM."
  6. arch=('i686' 'x86_64')
  7. url="http://arcywidmo.republika.pl/prime/"
  8. license=('GPL')
  9. depends=('ncurses' 'gcc-libs')
  10. makedepends=()
  11. source=(http://arcywidmo.republika.pl/prime/$pkgver/prime_src-$pkgver.tar.bz2 launcher build_fix.patch)
  12.  
  13. md5sums=('67c5b5e0cc170d9acf565210e87065f9'
  14.          '2fda0d47622a0c17fb0edf336a734053'
  15.          '1f1f2b828a112b9e36a734a93c786936')
  16.  
  17. build()
  18. {
  19.   cd "$srcdir"
  20.   patch -p0 < build_fix.patch
  21.   cd "PRIME"
  22.   make
  23. }
  24.  
  25. package()
  26. {
  27.   cd "$srcdir/PRIME/build/prime"
  28.   mkdir -p "$pkgdir/opt/primerl"
  29.   cp -r * "$pkgdir/opt/primerl"
  30.   install -D "$srcdir/launcher" "$pkgdir/usr/bin/$pkgname"
  31.  
  32.   cd "$pkgdir/opt/primerl/"
  33.   touch config.txt
  34.   chown -R root:games user config.txt
  35.   chmod 775 user
  36.   chmod 664 user/*
  37.   chmod 664 config.txt
  38. }
clone this paste RAW Paste Data