1 # Contributor: ice-man <icemanf@gmail.com>
5 pkgdesc="Helium is a functional programming language and a compiler designed especially for learning Haskell"
6 url="http://www.cs.uu.nl/helium/"
9 source=("http://www.cs.uu.nl/helium/distr/$pkgname-$pkgver-src.tar.gz"
10 "http://www.cs.uu.nl/helium/distr/Hint-$pkgver.jar"
12 md5sums=('55476704142a92cbf1dbc69cee6f81b5' 'f7fdad477b141f23566d02a6e78f644d' 'd656c83a27e7721f2b8b72a9aff71177')
15 cd $startdir/src/$pkgname-$pkgver
26 mkdir -p $startdir/pkg/usr/lib/helium/bin
27 mkdir -p $startdir/pkg/usr/lib/helium/lib
28 mkdir -p $startdir/pkg/usr/lib/helium/demo
29 mkdir -p $startdir/pkg/usr/bin
31 cp $startdir/src/$pkgname-$pkgver/helium/bin/* $startdir/pkg/usr/lib/helium/bin
32 cp $startdir/src/$pkgname-$pkgver/helium/lib/* $startdir/pkg/usr/lib/helium/lib
33 cp -R $startdir/src/$pkgname-$pkgver/helium/lib/simple $startdir/pkg/usr/lib/helium/lib
34 cp $startdir/src/$pkgname-$pkgver/helium/demo/* $startdir/pkg/usr/lib/helium/demo
35 cp $startdir/src/Hint-$pkgver.jar $startdir/pkg/usr/lib/helium/bin/Hint.jar
36 cp $startdir/helium-wrapper $startdir/pkg/usr/bin
37 cd $startdir/pkg/usr/bin/
38 ln -s helium-wrapper helium
39 ln -s helium-wrapper hint