1 # Contributor: quasi <quasi@aur.archlinux.org>
6 pkgdesc="Symbolic Manipulation System"
8 url="http://www.nikhef.nl/~form/"
10 md5sums=('d3760450ccd7104f807d4447c6a30545' '8f2976853f886aa063f1b7e2f885a641' 'f7f165c70ecc558767151aa597f50f04' '8ec75ba62e2fde100f0673b14524c2ba' '4a8632e051014f60534f14d8ba409af9' 'e68e579fe78da3664b82a8dc6a6a32c3' '0b545e19129bd5107b35ce2c8953c44b' '4987dcb51d634917a57dfa7fa9a84443')
12 if [ ${CARCH} = "i686" ]
19 source=(http://www.nikhef.nl/~form/maindir/documentation/tutorial/book.ps
20 http://www.nikhef.nl/~form/maindir/documentation/tutorial/book.pdf
21 http://www.nikhef.nl/~form/maindir/documentation/reference/man.ps
22 http://www.nikhef.nl/~form/maindir/documentation/reference/man.pdf
23 http://www.nikhef.nl/~form/maindir/documentation/lattice.ps
24 http://www.nikhef.nl/~form/maindir/documentation/lattice.pdf
30 wget http://www.nikhef.nl/~form/maindir/binaries/linux${_plat}/form -O $srcdir/form || return 1
31 wget http://www.nikhef.nl/~form/maindir/binaries/linux${_plat}/tform -O $srcdir/tform || return 1
33 mkdir -p $pkgdir/usr/bin/ || return 1
34 mkdir -p $pkgdir/usr/share/doc/FORM/ return 1
36 cp -f $srcdir/form $pkgdir/usr/bin/ || return 1
37 cp -f $srcdir/tform $pkgdir/usr/bin/ || return 1
38 cp -f $srcdir/*.ps $pkgdir/usr/share/doc/FORM/ || return 1
39 cp -f $srcdir/*.pdf $pkgdir/usr/share/doc/FORM/ || return 1
40 cp -f $srcdir/license $pkgdir/usr/share/doc/FORM/ || return 1
42 chmod 755 $pkgdir/usr/bin/form || return 1
43 chmod 755 $pkgdir/usr/bin/tform || return 1