diff options
Diffstat (limited to 'gis/spatialindex/PKGBUILD')
-rw-r--r-- | gis/spatialindex/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gis/spatialindex/PKGBUILD b/gis/spatialindex/PKGBUILD new file mode 100644 index 000000000..e0787808e --- /dev/null +++ b/gis/spatialindex/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Lantald <lantald at Gmx dot com> +pkgname=spatialindex +pkgver=1.7.1 +pkgrel=1 +pkgdesc="An extensible framework that supports robust spatial indexing methods and sophisticated spatial queries." +arch=('i686' 'x86_64') +url="http://libspatialindex.github.com/" +license=('(L)GPL') +depends=(gcc-libs) +provides=(spatialindex) +conflicts=(libspatialindex-git) +source=(http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz) +md5sums=('8599243d5d8204f0f8d92cd55ab120f5') + +build() { + cd "$srcdir/$pkgname-src-$pkgver/" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-src-$pkgver/" + make -k check +} + +package() { + cd "$srcdir/$pkgname-src-$pkgver/" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |