updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / glulxe-term / PKGBUILD
blob89185f6601c244c11e4ec3bb684f36c9600e4c28
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=glulxe-term
3 pkgver=045
4 pkgrel=2
5 pkgdesc="Glulxe is an interpreter for the Glulx virtual machine."
6 arch=(i686 x86_64)
7 url="http://www.eblong.com/zarf/glulx/"
8 license=('BSD')
9 groups=(inform)
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')
15 build() {
16         cd $srcdir/glkterm
17         sed -i -e "s/<ncursesw\/ncurses.h>/<ncurses.h>/g" $srcdir/glkterm/gtncursesw.c
18         make
19         #note: glktermw is a portable API (programming interface) for applications with text UIs (user interfaces.)
20         #it is needed to compile glulxe
21         
22     cd $srcdir/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