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

nfrotz updated pkgbuild

By: a guest on Oct 26th, 2010  |  syntax: Bash  |  size: 0.94 KB  |  views: 61  |  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. # Contributor: Eric Forgeot < http://ifiction.free.fr >
  2. pkgname=nfrotz
  3. pkgver=0.3.3
  4. pkgrel=2
  5. pkgdesc="Z-machine interpreter for playing Interactive Fiction games, with support for unicode"
  6. arch=(i686 x86_64)
  7. url="http://www.stanford.edu/~mcmartin/if/"
  8. license=('GPL')
  9. depends=('glibc')
  10. makedepends=('unzip')
  11. #provides=()
  12. #conflicts=()
  13. #replaces=()
  14. #backup=()
  15. groups=(inform)
  16. #options=()
  17. #install=
  18. source=(http://ifarchive.giga.or.at/if-archive/infocom/interpreters/frotz/$pkgname-$pkgver.tgz)
  19. #noextract=()
  20. md5sums=(78e0cafcb30b1539629ea5f5b8a61dbf)
  21.  
  22.  
  23. build() {
  24.  cd $srcdir/$pkgname-$pkgver
  25.  sed -i -e "s/^PREFIX = \/usr\/local/PREFIX = ..\/..\/pkg\/usr/g" $srcdir/$pkgname-$pkgver/Makefile
  26.  sed -i -e "s/MAN_PREFIX = \/usr\/local/MAN_PREFIX = ..\/..\/pkg\/usr\/share/g" $srcdir/$pkgname-$pkgver/Makefile
  27.  sed -i -e "s/\/usr\/local//g" $srcdir/$pkgname-$pkgver/src/Makefile
  28.   make || return 1
  29.   make DESTDIR=$pkgdir install || return 1
  30. }
clone this paste RAW Paste Data