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