summaryrefslogtreecommitdiff
path: root/pcr/libspatialite
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libspatialite')
-rw-r--r--pcr/libspatialite/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/libspatialite/PKGBUILD b/pcr/libspatialite/PKGBUILD
new file mode 100644
index 000000000..24c775fd8
--- /dev/null
+++ b/pcr/libspatialite/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Brian Galey <bkgaley at gmail dot com>
+# Contributor: Pietro Zambelli <peter.zamb at gmail dot com>
+pkgname=libspatialite
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="SQLite extension to support spatial data types and operations"
+arch=('i686' 'x86_64')
+url="https://www.gaia-gis.it/fossil/libspatialite/index"
+license=('MPL')
+depends=('geos' 'proj' 'sqlite3' 'libfreexl')
+options=('!libtool')
+source=("http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz")
+md5sums=('8040ce4e39913e7d284675c0f15d270d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}