1 # Contributor: Oin <mapleoin@nerdshack.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de
7 pkgdesc="Second Interpreter of Scheme Code"
9 url="http://sisc.sourceforge.net/"
10 depends=('java-runtime' 'rlwrap')
11 license=('MPL' 'GPL2')
12 install=$pkgname.install
14 http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
15 md5sums=('ec40fd5ae9776a13f788f28ece13f4eb' '15f2aa0c08b782d7882aa884846b902e')
18 cd $srcdir/$pkgname-$pkgver/
19 rm $pkgname.bat || return 1
20 install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname || return 1
21 install -d $pkgdir/usr/share/$pkgname || return 1
22 cp -r $srcdir/$pkgname-$pkgver/* $pkgdir/usr/share/$pkgname || return 1
23 install -d $pkgdir/etc/profile.d || return 1
24 echo 'export SISC_HOME=/usr/share/$pkgname' > \
25 $pkgdir/etc/profile.d/$pkgname.sh || return 1
26 install -m 755 $startdir/src/$pkgname.sh $pkgdir/etc/profile.d || return 1