# Contributor: Bjoern Schilberg # Maintainer: Bjoern Schilberg pkgname=postgis pkgver=3.0.0 pkgrel=0 pkgdesc="PostGIS is a spatial database extender for PostgreSQL object-relational database." url="https://postgis.net/" arch="all !x86 !armhf !armv7" # missing proj-dev on these arch's 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 protobuf-c-dev" subpackages="$pkgname-doc" source="http://download.osgeo.org/postgis/source/postgis-$pkgver.tar.gz" options="!check" # tests depends on a running PostgreSQL server build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make -j1 } package() { make DESTDIR="$pkgdir" install } sha512sums="82c233681fa6444686f9979768e5d6d3a9b6ca9cbd4fc2b14bd0a5d1269a8d0f45ee067e64984077063407c7abc13fa0e37a29928d7ccbfe3a61b694f592bed2 postgis-3.0.0.tar.gz"