blob: e2a8a10869e8fd98b3d63dc75b34086b06da9bbd (
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 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=2.0.0
pkgrel=2
pkgdesc="Adds support for geographic objects to PostgreSQL"
arch=('i686' 'x86_64' 'mips64el')
url="http://postgis.org/"
license=('GPL')
depends=('postgresql' 'gdal' 'json-c')
changelog=$pkgname.changelog
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
}
|