diff options
Diffstat (limited to 'community-staging/postgis/PKGBUILD')
-rw-r--r-- | community-staging/postgis/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community-staging/postgis/PKGBUILD b/community-staging/postgis/PKGBUILD new file mode 100644 index 000000000..0e5b5ca4c --- /dev/null +++ b/community-staging/postgis/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 50943 2011-07-03 10:15:49Z jelle $ +# 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=2 +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 +} |