updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / sisc / PKGBUILD
blob1bbebc0711eacfa63a5089410c688e9a13ff75cf
1 # Contributor: Oin <mapleoin@nerdshack.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de
4 pkgname=sisc
5 pkgver=1.16.6
6 pkgrel=3
7 pkgdesc="Second Interpreter of Scheme Code"
8 arch=(any)
9 url="http://sisc.sourceforge.net/"
10 depends=('java-runtime' 'rlwrap')
11 license=('MPL' 'GPL2')
12 install=$pkgname.install
13 source=($pkgname.sh
14 http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
15 md5sums=('ec40fd5ae9776a13f788f28ece13f4eb' '15f2aa0c08b782d7882aa884846b902e')
17 build() {
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