diff options
Diffstat (limited to 'community/postgis/PKGBUILD')
-rw-r--r-- | community/postgis/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/postgis/PKGBUILD b/community/postgis/PKGBUILD new file mode 100644 index 000000000..192425090 --- /dev/null +++ b/community/postgis/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 92821 2013-06-15 13:40:37Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=postgis +pkgver=2.0.3 +pkgrel=1 +pkgdesc="Adds support for geographic objects to PostgreSQL" +arch=('i686' 'x86_64') +url="http://postgis.net/" +license=('GPL') +depends=('postgresql>=9.2' 'postgresql<9.3' 'proj' 'geos' 'gdal' 'json-c' 'libxml2') +changelog=$pkgname.changelog +options=('!libtool') +source=(http://download.osgeo.org/postgis/source/${pkgname}-${pkgver}.tar.gz) +sha256sums=('7f865a6fdf19afed7d2f3e7178cd504f7254a9e96f2ce6a07d0ea19edc1668a0') + +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 +} |