Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 17th, 2010  |  syntax: None  |  size: 1.11 KB  |  hits: 121  |  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: djnm <nmihalich [at} gmail dott com>
  2. #Contributor: Erus <erus.iluvatar@gmail.com>
  3. pkgname=asciiportal
  4. pkgver=1.2c
  5. pkgrel=1
  6. pkgdesc="Text based puzzle game inspired by the popular video game."
  7. arch=('i686' 'x86_64')
  8. url="http://cymonsgames.com/asciiportal/"
  9. license=('custom:asciiportal')
  10. depends=('sdl' 'sdl_mixer')
  11. makedepends=('unzip')
  12. source=(http://cymonsgames.com/games/asciiportal/asciiportal1.2c-src.zip asciiportal)
  13. md5sums=('6b353a65ac4590bf2eabf5d06dde7473'
  14.          '6c92bc0db886f825fb9de200d16639c8')
  15.  
  16.  
  17. build() {
  18. cd $srcdir/
  19.  
  20. cat ASCIIpOrtal-linux-Makefile.txt | sed 's/al_/ap_/' >> makefile
  21.  
  22. make
  23.  
  24. rm -rf *.o *.c*p *.h *.zip PDCurses* ASCII* makefile
  25.  
  26. strip asciiportal
  27.  
  28. install -d $pkgdir/opt/asciiportal
  29. install -d $pkgdir/usr/bin/
  30.  
  31. cp -r $srcdir/* $pkgdir/opt/asciiportal/
  32. touch $pkgdir/opt/asciiportal/maps/save.dat
  33. chmod 666 $pkgdir/opt/asciiportal/maps/save.dat
  34. install -D $srcdir/readme.txt $pkgdir/usr/share/licences/asciiportal
  35. install -d $srcdir/* $pkgdir/opt/asciiportal/
  36. install -D $startdir/asciiportal $pkgdir/usr/bin/asciiportal
  37.  
  38. }
  39. # vim:set ts=2 sw=2 et: #