summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b1d2a526a9875c6ad1a709d20406efad14a1f41b (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$
# Maintainer: Miguel Gomes <alka.setzer@gmail.com>

pkgname=pgsphere
pkgver=1.1.5
pkgrel=2
pkgdesc="Provides spherical data types, functions, and operators for PostgreSQL"
arch=('x86_64')
url="http://pgfoundry.org/projects/pgsphere/"
license=('GPL')
makedepends=('git')
depends=('postgresql')
options=('!makeflags')
source=(pgsphere::git://github.com/mdgomes/pgsphere.git)
sha256sums=('SKIP')

prepare() {
  cd pgsphere
}

build() {
  cd pgsphere
  make USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
}

package() {
  cd pgsphere
  make DESTDIR="${pkgdir}" USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config install
}