summaryrefslogtreecommitdiff
path: root/community/libspatialite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libspatialite/PKGBUILD')
-rw-r--r--community/libspatialite/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/libspatialite/PKGBUILD b/community/libspatialite/PKGBUILD
new file mode 100644
index 000000000..d9d3e4dcc
--- /dev/null
+++ b/community/libspatialite/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 105988 2014-02-20 17:46:02Z bgyorgy $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Brian Galey <bkgaley at gmail dot com>
+# Contributor: Pietro Zambelli <peter.zamb at gmail dot com>
+
+pkgname=libspatialite
+pkgver=4.1.1
+pkgrel=4
+pkgdesc="SQLite extension to support spatial data types and operations"
+arch=('i686' 'x86_64')
+url="https://www.gaia-gis.it/fossil/libspatialite"
+license=('MPL' 'GPL' 'LGPL')
+depends=('geos' 'libfreexl' 'libxml2' 'proj' 'sqlite3')
+source=("http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz")
+sha256sums=('0481a20af952f4a38c9dbb10f37fd38c45f16c50397f8da0079e02435b9b910f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-libxml2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}