1 # Contributer: Matt Beisser <beissemj(at)gmail(dot)com>
2 # Contributor: BinkyTheClown <binky_at_archlinux_dot_us>
6 pkgdesc="The Mozart Programming System"
8 url="http://www.mozart-oz.org"
9 license=('custom:X11style')
10 depends=('gmp' 'emacs' 'tk' 'gdbm')
11 options=('!makeflags')
12 source=(http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-src.tar.gz
13 http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-$pkgver-std.tar.gz
15 md5sums=('d34156dce23a84925f7eae121feb3afe' 'b9e2e6c2d57044b7a2ce7d13e35ff120'\
16 'cc4567bb8fad4a81da1903ee092a4886')
19 cd $srcdir/$pkgname-$pkgver
20 ./configure --prefix=$pkgdir/opt/mozart --disable-contrib-micq --disable-doc
22 mkdir -p $pkgdir/usr/share/licenses/mozart
24 make prefix=$pkgdir/opt/mozart install
26 cd $srcdir/$pkgname-$pkgver-std
27 ./configure --prefix=$pkgdir/opt/mozart
28 make prefix=$pkgdir/opt/mozart install
30 install -m 755 -D $srcdir/mozart.profile $pkgdir/etc/profile.d/mozart.sh
31 cp $pkgdir/opt/mozart/LICENSE* $pkgdir/usr/share/licenses/mozart