daily pastebin goal
89%
SHARE
TWEET

pkgbuild

a guest Feb 13th, 2012 117 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Eric Forgeot < http://ifiction.free.fr >
  2. # Modified by: Gene Ruebsamen on Feb 12, 2012
  3. pkgname=glulxe-term
  4. pkgver=047
  5. pkgrel=2
  6. pkgdesc="Glulxe is an interpreter for the Glulx virtual machine."
  7. arch=(i686 x86_64)
  8. url="http://www.eblong.com/zarf/glulx/"
  9. license=('BSD')
  10. groups=(inform)
  11. source=(http://mirror.ifarchive.org/if-archive/programming/glulx/interpreters/glulxe/glulxe-${pkgver}.tar.gz http://mirror.ifarchive.org/if-archive/programming/glk/implementations/glktermw-102.tar.gz)
  12.  
  13. md5sums=('40378ece63e72ba1efc26397f5ffb60a'
  14.          'ac6690c7137f4364bb43af13a9be4c1b')
  15.  
  16. build() {
  17.         cd $srcdir/glktermw
  18.         sed -i -e "s/<ncursesw\/ncurses.h>/<ncurses.h>/g" $srcdir/glktermw/gtncursesw.c
  19.         make
  20.         #note: glktermw is a portable API (programming interface) for applications with text UIs (user interfaces.)
  21.         #it is needed to compile glulxe
  22.        
  23.     cd $srcdir/glulxe
  24.     make GLKINCLUDEDIR=$srcdir/glktermw GLKLIBDIR=$srcdir/glktermw GLKMAKEFILE=Make.glktermw || return 1
  25.     install -D -m644 $srcdir/glulxe/glulxe $pkgdir/usr/bin/glulxe-term
  26.         chmod +x $pkgdir/usr/bin/glulxe-term
  27.  
  28. }
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