updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / jacl / PKGBUILD
blob0d04a6cbdcadcc64f283d41597702e452800f091
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=jacl
3 pkgver=2.8.4
4 pkgrel=1
5 pkgdesc="An interpreted language for writing interactive fiction."
6 arch=(i686 x86_64)
7 url="http://jacl.game-host.org:8080/stuart/if/jacl.html"
8 license=('gpl')
9 depends=('sdl' 'fcgi')
10 optdepends=('gargoyle: graphical interpreter')
11 #groups=()
12 source=(http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tgz)
14 md5sums=('1842bfeb76456d2feff6ed708889d38a')
17 build() {
18         cd $srcdir/${pkgname}/src/glkterm
19         make -f Makefile.Unix
20     cd $srcdir/${pkgname}/src
21         make jacl || return 1
22         make cgijacl || return 1
23         make bjorb || return 1
24         make garjacl || return 1
25         make cjacl || return 1
26         
27         cd $srcdir/${pkgname}
28         
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
47         
48         #make install
49         #make DESTDIR=$pkgdir install || return 1