summaryrefslogtreecommitdiff
path: root/community/postgis/PKGBUILD
blob: a8d576d6b602a215c6eef5dafb50331b3270a1ea (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
# $Id: PKGBUILD 51024 2011-07-04 13:40:25Z stephane $
# 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.3
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=('05a61df5e1b78bf51c9ce98bea5526fc')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}