updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / surf-ag / PKGBUILD
blob64b9f0f5f84b7382b031dd4c420615ce705db7ec
1 # Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
2 # Maintainer: Rémy Oudompheng <oudomphe@clipper.ens.fr>
3 pkgname=surf-ag
4 pkgver=1.0.5
5 pkgrel=2
6 pkgdesc="Visualization of real algebraic surfaces"
7 arch=('i686' 'x86_64')
8 url="http://surf.sf.net/"
9 license=('GPL')
10 depends=('gmp' 'gtk' 'libjpeg')
11 source=(http://puzzle.dl.sourceforge.net/sourceforge/surf/surf-$pkgver.tar.gz
12         gcc44-patch)
14 build() {
15   cd "$startdir/src/surf-$pkgver"
16   patch -p1 <../gcc44-patch
18   ./configure --prefix=/usr
19   make || return 1 
20   make check || return 1
21   make install DESTDIR=$pkgdir || return 1
24 md5sums=('e19fbfdeffd60e8b178be89aeb43f7b1'
25          '40cb8d8bcfe917cb8170541059426d02')