summaryrefslogtreecommitdiff
path: root/spatialindex/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-09-22 12:45:53 +0200
committerErich Eckner <git@eckner.net>2016-09-22 12:45:53 +0200
commit1e65e39057537870b24fc9155174567c19b0c282 (patch)
treec25d9927651cdadd779b640b497bd61df5d5a01f /spatialindex/PKGBUILD
parent9a918a7fb3769eca976a21e89564594bf1a219ae (diff)
downloadarchlinuxewe.git.save-1e65e39057537870b24fc9155174567c19b0c282.tar.xz
spatialindex neu
Diffstat (limited to 'spatialindex/PKGBUILD')
-rw-r--r--spatialindex/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/spatialindex/PKGBUILD b/spatialindex/PKGBUILD
new file mode 100644
index 00000000..7f8457dc
--- /dev/null
+++ b/spatialindex/PKGBUILD
@@ -0,0 +1,37 @@
+# Original Maintainer: Lantald <lantald at Gmx dot com>
+# Contributor: Danilo <aur at dbrgn dot ch>
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+pkgname=spatialindex
+pkgver=1.8.5
+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=('MIT')
+depends=(gcc-libs)
+provides=(spatialindex)
+conflicts=(libspatialindex-git)
+source=("http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz"
+ 'LICENSE')
+sha256sums=('7caa46a2cb9b40960f7bc82c3de60fa14f8f3e000b02561b36cbf2cfe6a9bfef'
+ '170961cdd7754bed14e465eff7d4f22c5df11d8d104310a56a7ee3ab201bc279')
+
+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
+ install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: