diff --git a/libspatialite/PKGBUILD b/libspatialite/PKGBUILD new file mode 100644 index 000000000..43b113247 --- /dev/null +++ b/libspatialite/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Fabian Kosmale <0inkane@googlemail.com> +# Contributor: Brian Galey +# Contributor: Pietro Zambelli +pkgname=libspatialite +pkgver=3.0.1 +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/libspatialite-3.0.1.tar.gz") +md5sums=('450d1a0d9da1bd9f770b7db3f2509f69') + +build() { + cd "$srcdir/$pkgname-$pkgver" + # we need to disable geosadvanced, because geos is outdated (needs >=3.3.0) + ./configure --prefix=/usr --disable-geosadvanced + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} +