desktop/postgis/PKGBUILD
2014-12-17 14:10:41 +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.4
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=('6f7bacc0205859dafdfe545db1b892ca')
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
}