updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / gap-math / PKGBUILD
blob42cc20c9bedc67662b7c0c292af2b233f35d8b1e
1 # Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
2 pkgname=gap-math
3 pkgver=4.4.12
4 pkgrel=1
5 pkgdesc="System for computational discrete algebra"
6 arch=('i686' 'x86_64')
7 url="http://www.gap-system.org/gap.html"
8 license=('GPL')
9 depends=('glibc')
10 source=("ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/gap4r4p12.tar.bz2"
11         "gap.sh")
12 md5sums=('2808c00e85e98843bb0e1a62c33ad5f0'
13          '6648947cb6d1b8862f9e0aa4bcf86424')
15 build() {
16   cd "$startdir/src/gap4r4"
18   ./configure --prefix=/usr PREFIX=/usr CC="$CC" CXX="$CXX"
19   make || return 1
20   install -D -m 755 $srcdir/gap.sh $pkgdir/usr/bin/gap
21   mkdir -p $pkgdir/opt/gap4r4
22   rsync -rv --exclude='*.exe' --exclude='*.dll' . $pkgdir/opt/gap4r4