# Contributor: Bjoern Schilberg # Maintainer: Bjoern Schilberg pkgname=postgis pkgver=2.5.2 pkgrel=1 pkgdesc="PostGIS is a spatial database extender for PostgreSQL object-relational database." url="https://postgis.net/" # geos test fails on other archs arch="x86_64" license="GPL-2.0-or-later" depends="postgresql perl" makedepends="postgresql-dev geos-dev gdal-dev libxml2-dev proj-dev perl-dev json-c-dev pcre-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz" options="!check" # tests depends on a running PostgreSQL server build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-gtktest \ --disable-nls \ --disable-rpath \ --without-protobuf make -j1 } package() { make DESTDIR="$pkgdir" install } sha512sums="b10781f0b74bad8162c33eb111a6090fba184b45fe5874d22cd3a5b0acfb057f3407c073bc44c9d4cd20ed8c2cb1fbb34480b0cf331340bc8b52580d4eccb819 postgis-2.5.2.tar.gz"