summaryrefslogtreecommitdiff
path: root/community/postgis/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/postgis/PKGBUILD')
-rw-r--r--community/postgis/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/community/postgis/PKGBUILD b/community/postgis/PKGBUILD
index e04bd4d30..39464ea8e 100644
--- a/community/postgis/PKGBUILD
+++ b/community/postgis/PKGBUILD
@@ -1,29 +1,36 @@
-# $Id: PKGBUILD 57370 2011-10-26 14:27:28Z jlichtblau $
+# $Id: PKGBUILD 71631 2012-05-31 14:23:54Z andrea $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=postgis
-pkgver=1.5.3
+pkgver=2.0.0
pkgrel=2
pkgdesc="Adds support for geographic objects to PostgreSQL"
arch=('i686' 'x86_64')
-url="http://postgis.refractions.net/"
+url="http://postgis.org/"
license=('GPL')
-depends=('postgresql' 'proj' 'geos')
+depends=('postgresql' 'gdal' 'json-c')
changelog=$pkgname.changelog
-source=(http://postgis.refractions.net/download/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('a2334f8b229446c0497d48a430a40152a3b71a5da02f414a0340a0a025d416cf')
+options=('!libtool')
+source=("http://postgis.org/download/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('12179e24e348421c60c501590fda25bd349e2f697003958d9493f5c91b280081')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
+
+ # Build utils (FS#25836)
+ cd utils
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ cd utils
make DESTDIR="${pkgdir}" install
}