updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mupad / PKGBUILD
blob711d505306681ab0fbdd438bc553f0691a712edf
1 # Contributor: b52 <dotb52@gmail.com>
2 pkgname=mupad
3 pkgver=4.0.6
4 pkgrel=1
5 pkgdesc="MuPAD Pro is an open development environment for solving mathematical and technical difficulties, also known as computer algebra system (CAS)."
6 arch=('i686')
7 url="http://www.sciface.com"
8 license=('custom')
9 depends=('qt' 'libtiff' 'nvidia-utils')
10 makedepends=('rpmextract')
11 install=mupad.install
12 source=('http://www.mupad.de/download/data/mupadpro4/mupad-4.0.6-1-linux-i386.rpm' 'http://www.mupad.de/download/data/mupadpro4/FixedLicense_en.txt')
13 md5sums=('5a997990100a2ff6b894cb64de76bc53' '893540cce2a06f28f64f87d9cacce5d7')
15 build() {
16   rpmextract.sh mupad-4.0.6-1-linux-i386.rpm
18   mkdir -p $startdir/pkg/usr/share/licenses/mupad/
20   cp $startdir/FixedLicense_en.txt $startdir/pkg/usr/share/licenses/mupad/COPYING
22   cp -R $startdir/src/opt/ $startdir/pkg/
23   cp -R $startdir/src/usr/share/ $startdir/pkg/usr/
24   cp -R $startdir/src/usr/local/bin/ $startdir/pkg/usr/
26   chmod 755 $startdir/pkg/usr/bin/*