1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
5 pkgdesc="An interpreted language for writing interactive fiction."
7 url="http://jacl.game-host.org:8080/stuart/if/jacl.html"
10 optdepends=('gargoyle: graphical interpreter')
12 source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tgz)
14 md5sums=('1842bfeb76456d2feff6ed708889d38a')
18 cd $srcdir/${pkgname}/src/glkterm
20 cd $srcdir/${pkgname}/src
22 make cgijacl || return 1
23 make bjorb || return 1
24 make garjacl || return 1
25 make cjacl || return 1
29 mkdir -p $pkgdir/usr/share/jacl
30 mkdir -p $pkgdir/usr/bin
31 mkdir -p $pkgdir/usr/lib
33 cp $srcdir/${pkgname}/CHANGES $pkgdir/usr/share/jacl/
34 cp $srcdir/${pkgname}/COPYING $pkgdir/usr/share/jacl/
35 cp $srcdir/${pkgname}/README $pkgdir/usr/share/jacl/
36 cp -fr $srcdir/${pkgname}/games $pkgdir/usr/share/jacl/
37 chgrp games $pkgdir/usr/share/jacl/games
38 cp -fr $srcdir/${pkgname}/guide $pkgdir/usr/share/jacl/
39 #cp $srcdir/${pkgname}/bin/bjorb $pkgdir/usr/bin
40 #cp $srcdir/${pkgname}/bin/jacl $pkgdir/usr/bin
41 cp $srcdir/${pkgname}/src/garjacl $pkgdir/usr/bin
42 cp $srcdir/${pkgname}/src/bjorb $pkgdir/usr/bin
43 cp $srcdir/${pkgname}/src/jacl $pkgdir/usr/bin
44 cp $srcdir/${pkgname}/src/cgijacl $pkgdir/usr/bin
45 # ATTEntion pose pb avec gargoyle ! À corriger à l'occasion
46 cp $srcdir/${pkgname}/src/Gargoyle/libgarglk.so $pkgdir/usr/lib
49 #make DESTDIR=$pkgdir install || return 1