updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / starspan / PKGBUILD
blob90f85b20cb0f40929fa2f7a2f9545dfe34d7ac54
1 # Contributor: Dominik Fuchs <dominik.fuchs@wur.nl>
3 pkgname=starspan
4 pkgver=1.2.03
5 pkgrel=1
6 pkgdesc="Software for fast pixel level extraction from geometry features (points, lines, polygons)"
7 url="http://starspan.projects.atlas.ca.gov/"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 depends=('geos' 'gdal')
11 source=(http://projects.atlas.ca.gov/frs/download.php/667/${pkgname}-${pkgver}.tar.gz
12 gcc4.3.patch)
14 md5sums=('6d492358fc7a3096ec189156841a95c5'
15          '1dea78bfd5123608f66eb6f05b58c75e')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   patch -p1 -i $srcdir/gcc4.3.patch
20   ./configure --prefix=/usr # --with-grass=/opt/grass
21   make || return 1
22   make DESTDIR=$startdir/pkg install
23   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING