desktop/postgis/PKGBUILD
2014-04-12 20:23:11 +00:00

29 lines
766 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
# Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/postgis/
pkgname=postgis
pkgver=2.1.2
pkgrel=1
pkgdesc="Adds support for geographic objects to PostgreSQL"
arch=('x86_64')
url="http://postgis.refractions.net/"
license=('GPL')
depends=('postgresql' 'proj' 'geos' 'gdal' 'json-c' 'jasper' 'unixodbc')
options=('!libtool')
source=(http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz)
md5sums=('9d9dc316f7d68dacd242cac6c305fe65')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make
# Build utils (https://bugs.archlinux.org/task/25836)
cd utils
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}