mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 18:17:16 +08:00
33 lines
852 B
Bash
33 lines
852 B
Bash
# Apps Packages for Chakra, part of chakra-project.org
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
|
|
# Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/postgis/
|
|
|
|
pkgname=postgis
|
|
pkgver=2.0.1
|
|
pkgrel=1
|
|
pkgdesc="Adds support for geographic objects to PostgreSQL"
|
|
arch=('x86_64')
|
|
url="http://postgis.refractions.net/"
|
|
license=('GPL')
|
|
depends=('postgresql' 'proj' 'geos' 'gdal' 'json-c')
|
|
options=('!libtool')
|
|
source=(http://postgis.refractions.net/download/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('7af9ce5f7dfb22d81fea7f041e674497')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
# Build utils (https://bugs.archlinux.org/task/25836)
|
|
cd utils
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
cd utils
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|