1 # Contributor: gucong <gucong43216@gmail.com>
6 pkgdesc="A simple and efficient implementation of the Scheme programming language (binary)"
9 url="http://www.larcenists.org/"
11 source=(http://www.larcenists.org/LarcenyReleases/larceny-0.97-bin-native-ia32-linux86.tar.gz)
12 md5sums=('efbcb56ce9cae8f60cea10016f922760')
15 local LARCENY_ROOT=/usr/lib/larceny
16 cd $srcdir/larceny-$pkgver-bin-native-ia32-linux86
17 mkdir -p $pkgdir/usr/share/licenses/larceny/
18 mv COPYRIGHT $pkgdir/usr/share/licenses/larceny/COPYRIGHT
19 mkdir -p $pkgdir/usr/bin
20 mv compile-stale larceny twobit scheme-script $pkgdir/usr/bin
21 sed -i "s|# LARCENY_ROOT=.*|LARCENY_ROOT=$LARCENY_ROOT|" $pkgdir/usr/bin/larceny
22 sed -i "s|# LARCENY_ROOT=.*|LARCENY_ROOT=$LARCENY_ROOT|" $pkgdir/usr/bin/scheme-script
23 sed -i "s|# LARCENY_ROOT=.*|LARCENY_ROOT=$LARCENY_ROOT|" $pkgdir/usr/bin/twobit
24 mkdir -p $pkgdir/usr/share/doc/larceny
25 mv doc examples README-FIRST.txt $pkgdir/usr/share/doc/larceny
26 mkdir -p $pkgdir/usr/lib/larceny
27 mv * $pkgdir/usr/lib/larceny