mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-27 13:22:15 +08:00
24 lines
639 B
Bash
24 lines
639 B
Bash
# Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/postgis/
|
|
|
|
pkgname=postgis
|
|
pkgver=2.1.5
|
|
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' 'jasper' 'unixodbc')
|
|
source=(http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz)
|
|
sha256sums=('0d0e27f72f12b8dba456fbde25ed0f6913f42baf57332a7f1b9bbc6f29fddbf4')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
make DESTDIR=${pkgdir} install
|
|
}
|