updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gfan / PKGBUILD
blob82dd286db0b3edc473e4cd5d3557be42c0bd01ed
1 # Contributor: Rémy Oudompheng <oudomphe+archlinux@phare.normalesup.org>
2 # Maintainer: Rémy Oudompheng <oudomphe+archlinux@phare.normalesup.org>
3 pkgname=gfan
4 pkgver=0.4plus
5 pkgrel=1
6 pkgdesc="a software package for computing Gröbner fans and tropical varieties"
7 arch=('i686' 'x86_64')
8 _website="http://www.math.tu-berlin.de/~jensen/software/gfan/"
9 url="http://www.math.tu-berlin.de/~jensen/software/gfan/gfan.html"
10 license=('GPL')
11 depends=('cddlib')
12 source=(${_website}gfan${pkgver}.tar.gz
13         gcc-4.5-temporary-fix.patch)
14 md5sums=('fa1f006547babad8c9bc89e3a6f562b3'
15          'eca8f65d1fc25ad9de5c0f743bd09ac0')
17 build() {
18   cd "$startdir/src/gfan$pkgver"
19   patch -p0 <../gcc-4.5-temporary-fix.patch
20   make || return 1
21   make PREFIX="${pkgdir}/usr" install || return 1
23 md5sums=('fa1f006547babad8c9bc89e3a6f562b3'
24          'e506dc281c1ba2486ebd63d23cc3fd7b')