diff options
-rw-r--r-- | libspatialite/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libspatialite/PKGBUILD b/libspatialite/PKGBUILD new file mode 100644 index 00000000..f442d6c5 --- /dev/null +++ b/libspatialite/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org> +# Contributor: Brian Galey <bkgaley at gmail dot com> +# Contributor: Pietro Zambelli <peter.zamb at gmail dot com> + +pkgname=libspatialite +pkgver=5.0.0 +pkgrel=1 +pkgdesc="SQLite extension to support spatial data types and operations" +arch=('x86_64' 'i686' 'pentium4') +url="https://www.gaia-gis.it/fossil/libspatialite" +license=('MPL' 'GPL' 'LGPL') +depends=('geos' 'libfreexl' 'libxml2' 'proj' 'sqlite' 'minizip') +source=(https://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz) +sha256sums=('7b7fd70243f5a0b175696d87c46dde0ace030eacc27f39241c24bac5dfac6dac') + +build() { + cd "${srcdir}"/$pkgname-$pkgver + + ./configure --prefix=/usr --enable-libxml2 CFLAGS="$CFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + make DESTDIR="${pkgdir}" install +} |