1 # Contributor: manveru <m.fellinger@gmail.com>
2 # Contributor: Florian Richter <Florian_Richter@gmx.de>
4 # Maintainer: Alfredo Beaumont <alfredo.beaumont@gmail.com>
9 pkgdesc="Dylan is an advanced, object-oriented, dynamic language which supports rapid program development."
11 url="http://www.opendylan.org"
13 install=opendylan.install
16 if [[ $CARCH == "i686" ]]; then
18 source=(http://opendylan.org/downloads/$pkgname/$pkgver/$pkgname-$pkgver-x86-linux.tar.bz2)
19 md5sums=('285ea1a0e51bb23d061b774c0987498a')
20 elif [[ $CARCH == "x86_64" ]]; then
21 depends=('glibc' 'gc')
22 source=(http://opendylan.org/downloads/$pkgname/$pkgver/$pkgname-$pkgver-x86_64-linux.tar.bz2)
23 md5sums=('df2342c6c427b4ea4ccb50c4c5988a24')
27 mkdir -p $pkgdir/usr/bin
28 mkdir -p $pkgdir/opt/$pkgname
29 cp -r $srcdir/$pkgname-$pkgver/{bin,databases,lib,sources} $pkgdir/opt/$pkgname
30 ln -sf /opt/$pkgname/bin/{dswank,dylan-compiler,make-dylan-app} $pkgdir/usr/bin/$1
31 if [[ $CARCH = "x86_64" ]]; then
32 cp -r $srcdir/$pkgname-$pkgver/include $pkgdir/opt/$pkgname
34 install -D -m644 $srcdir/$pkgname-$pkgver/License.txt $pkgdir/usr/share/licenses/$pkgname/License.txt