2014-04-13 04:23:11 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
|
|
|
|
# Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/postgis/
|
2011-04-16 18:53:15 +08:00
|
|
|
|
|
|
|
pkgname=postgis
|
2014-06-28 21:15:08 +08:00
|
|
|
pkgver=2.1.3
|
2011-04-16 18:53:15 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Adds support for geographic objects to PostgreSQL"
|
2014-04-13 04:23:11 +08:00
|
|
|
arch=('x86_64')
|
2011-04-16 18:53:15 +08:00
|
|
|
url="http://postgis.refractions.net/"
|
|
|
|
license=('GPL')
|
2014-04-13 04:23:11 +08:00
|
|
|
depends=('postgresql' 'proj' 'geos' 'gdal' 'json-c' 'jasper' 'unixodbc')
|
|
|
|
options=('!libtool')
|
|
|
|
source=(http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz)
|
2014-06-28 21:15:08 +08:00
|
|
|
md5sums=('104e4468429ea0882259fc268c62d6c7')
|
2011-04-16 18:53:15 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
2014-04-13 04:23:11 +08:00
|
|
|
# Build utils (https://bugs.archlinux.org/task/25836)
|
|
|
|
cd utils
|
|
|
|
make
|
2011-04-16 18:53:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|