# Contributor: Bradley J Chambers # Maintainer: Bradley J Chambers pkgname=libspatialite pkgver=4.3.0a pkgrel=8 pkgdesc="SpatiaLite extends the SQLite core to support fully fledged Spatial SQL capabilities." url="https://www.gaia-gis.it/fossil/libspatialite/index" arch="x86_64" license="MPL-1.1" options="!check" makedepends="geos-dev sqlite-dev proj-dev zlib-dev libxml2-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz" build() { CFLAGS="$CFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \ ./configure \ --prefix=/usr \ --build=$CBUILD \ --host=$CHOST \ --enable-freexl=no \ --disable-static make } package() { make DESTDIR="$pkgdir" install } prepare() { default_prepare update_config_sub } sha512sums="adfd63e8dde0f370b07e4e7bb557647d2bfb5549205b60bdcaaca69ff81298a3d885e7c1ca515ef56dd0aca152ae940df8b5dbcb65bb61ae0a9337499895c3c0 libspatialite-4.3.0a.tar.gz"