1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="Glulxe is an interpreter for the Glulx virtual machine."
7 url="http://www.eblong.com/zarf/glulx/"
10 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-081.tar.gz)
12 md5sums=('a86c4ea8b6a76132395ddefb5303c638'
13 '08b479f508d57cb881a81068d590fce4')
17 sed -i -e "s/<ncursesw\/ncurses.h>/<ncurses.h>/g" $srcdir/glkterm/gtncursesw.c
19 #note: glktermw is a portable API (programming interface) for applications with text UIs (user interfaces.)
20 #it is needed to compile glulxe
23 make GLKINCLUDEDIR=$srcdir/glkterm GLKLIBDIR=$srcdir/glkterm GLKMAKEFILE=Make.glktermw || return 1
24 install -D -m644 $srcdir/glulxe/glulxe $pkgdir/usr/bin/glulxe-term
25 chmod +x $pkgdir/usr/bin/glulxe-term