summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spatialindex/LICENSE9
-rw-r--r--spatialindex/PKGBUILD37
2 files changed, 46 insertions, 0 deletions
diff --git a/spatialindex/LICENSE b/spatialindex/LICENSE
new file mode 100644
index 00000000..888f4e78
--- /dev/null
+++ b/spatialindex/LICENSE
@@ -0,0 +1,9 @@
+Permission is hereby granted, free of charge, to any person obtaining acopy of this software and associated documentation files (the "Software"),to deal in the Software without restriction, including without limitationthe rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
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: