desktop/postgis/PKGBUILD
2016-03-25 20:46:36 +01:00

26 lines
663 B
Bash

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