mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:47:22 +08:00
24 lines
703 B
Bash
24 lines
703 B
Bash
# Contributions from Arch: https://www.archlinux.org/packages/community/x86_64/postgis/
|
|
|
|
pkgname=postgis
|
|
pkgver=2.1.8
|
|
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)
|
|
sha512sums=('e8aeb739a1ecf95b224a3908d2af3aa38933b56c63713af30d14243653745436165b418a3368601a699b744f6fe61ce645c980319eb159395d68166a3815c5f4')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
make DESTDIR=${pkgdir} install
|
|
}
|