summaryrefslogtreecommitdiff
path: root/community/postgis/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/postgis/PKGBUILD')
-rw-r--r--community/postgis/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/postgis/PKGBUILD b/community/postgis/PKGBUILD
new file mode 100644
index 000000000..dbea8cc90
--- /dev/null
+++ b/community/postgis/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 31335 2010-10-30 06:31:18Z jlichtblau $
+# 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.2
+pkgrel=1
+pkgdesc="Adds support for geographic objects to PostgreSQL"
+arch=('i686' 'x86_64')
+url="http://postgis.refractions.net/"
+license=('GPL')
+depends=('postgresql' 'proj' 'geos')
+changelog=$pkgname.changelog
+source=(http://postgis.refractions.net/download/$pkgname-$pkgver.tar.gz)
+md5sums=('772ec1d0f04d6800cd7e2420a97a7483')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+}