desktop/postgis/PKGBUILD
2018-02-10 17:18:24 +01:00

25 lines
648 B
Bash

# Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/postgis/
pkgname=postgis
pkgver=2.4.3
pkgrel=1
pkgdesc="Adds support for geographic objects to PostgreSQL"
arch=('x86_64')
url="http://postgis.refractions.net/"
license=('GPL')
options=('!makeflags')
depends=('postgresql' 'gdal' 'json-c' 'proj' 'protobuf-c')
source=(http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz)
sha256sums=('ea5374c5db6b645ba5628ddcb08f71d3b3d90a464d366b4e1d20d5a268bde4b9')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}