updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / gstat / PKGBUILD
blob4c9772fe775b408dc03cd108c2d11f197ec5075a
1 # Maintainer: Dominik Fuchs <dominik.fuchs@wur.nl>
2 pkgname=gstat
3 pkgver=2.5.1
4 pkgrel=1
5 pkgdesc="Gstat is a software for multivariable geostatistical modelling, prediction and simulation."
6 url="http://www.gstat.org"
7 license="GPL"
8 arch=('i686' 'x86_64')
9 depends=(ncurses grass gdal)
10 source=(http://gstat.org/bin/gstat-2.5.1.tar.gz
11         gstat-2.5.1-grass.patch)
12 md5sums=('d7dbcf3418fd19221ec64825f6b6e2c9'
13          '10a1e5820aa4b698e740069c86b133c1')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   patch -Np1 -i ${startdir}/gstat-2.5.1-grass.patch || return 1
18   ./configure --prefix=$startdir/pkg/usr --with-gdal --with-grass6=/opt/grass
19   make | return 1
20   mkdir $startdir/pkg/usr/ $startdir/pkg/usr/bin
21   make install