8 pkgdesc="open source APL, an array processing language"
10 url="http://www.aplusdev.org"
14 source=(http://www.aplusdev.org/Download/$pkgname-$pkgver-$_pkgver.tar.gz MSFloat.C.diff MSUtil.C.diff)
15 md5sums=('2c2904fc5a42464a670d8890d7de252d'
16 '0679ef92144824b6e6f4caff6252655d'
17 '59e18caa3b9a728582c47356bd6632eb')
20 cd "$srcdir/$pkgname-$pkgver"
22 patch -p1 MSFloat.C < $startdir/MSFloat.C.diff
23 patch -p1 MSUtil.C < $startdir/MSUtil.C.diff
25 cd "$srcdir/$pkgname-$pkgver"
27 ./configure --prefix=/usr/aplus
30 sed -e 's/-lm/-lm -lX11/' Makefile > .tmp
36 make DESTDIR=$pkgdir install
37 mkdir -p $pkgdir/usr/share/fonts/TTF
38 mv $pkgdir/usr/aplus/bin $pkgdir/usr
39 mv $pkgdir/usr/aplus/include $pkgdir/usr
40 mv $pkgdir/usr/aplus/lib $pkgdir/usr
41 mv $pkgdir/usr/aplus/fonts/TrueType/* $pkgdir/usr/share/fonts/TTF
42 mv $pkgdir/usr/aplus/fonts/X11/* $pkgdir/usr/share/fonts/