1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="Git is a fast interpreter for the Glulx virtual machine."
7 url="http://diden.net/if/git/"
10 source=(http://mirror.ifarchive.org/if-archive/programming/glulx/interpreters/git/git-126.zip http://mirror.ifarchive.org/if-archive/programming/glk/implementations/glktermw-081.tar.gz)
12 md5sums=('4f88b939102b5398d53762a51147f79a'
13 '08b479f508d57cb881a81068d590fce4')
17 sed -i -e "s/<ncursesw\/ncurses.h>/<ncurses.h>/g" $srcdir/glkterm/gtncursesw.c
18 sed -i -e "s/<ncursesw\/ncurses.h>/<ncurses.h>/g" $srcdir/glkterm/Makefile
20 #note: glktermw is a portable API (programming interface) for applications with text UIs (user interfaces.)
21 #it is needed to compile git
23 ln -s $srcdir/glkterm $srcdir/glktermw
25 cd $srcdir/git-${pkgver}
27 make GLK=glktermw || return 1
28 install -D -m644 $srcdir/git-${pkgver}/git $pkgdir/usr/bin/git-term
29 chmod +x $pkgdir/usr/bin/git-term