summaryrefslogtreecommitdiff
path: root/pcr/spatialindex/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-16 00:04:27 -0700
committerroot <root@rshg054.dnsready.net>2013-03-16 00:04:27 -0700
commitea60830c19f04f36803e26821bd9db1361489653 (patch)
tree36ad70529294c03ef83ce837c70e5d93fc35abd1 /pcr/spatialindex/PKGBUILD
parent6677e80954fee8b7bd931cfd5426fbf79c075246 (diff)
Sat Mar 16 00:04:26 PDT 2013
Diffstat (limited to 'pcr/spatialindex/PKGBUILD')
-rw-r--r--pcr/spatialindex/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/spatialindex/PKGBUILD b/pcr/spatialindex/PKGBUILD
new file mode 100644
index 000000000..ac2e1122e
--- /dev/null
+++ b/pcr/spatialindex/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Lantald <lantald at Gmx dot com>
+pkgname=spatialindex
+pkgver=1.8.0
+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')
+md5sums=('aa78e2c641c472df257f49cd140669c4'
+ '6a9a7d8158edbf1529ca46aae5a76752')
+
+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: