blob: 19242509000684dbc2c965d0791ac6f1c79d35e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}
|