blob: f9fcbf9efc715ab1ed80f57657801e18785d0a61 (
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
30
31
32
33
34
|
# Maintainer: Marti Raudsepp <marti@juffo.org>
pkgname=postgis-git
pkgver=76e34fa54
pkgrel=1
pkgdesc="Postgres GIS extensions (from git)"
url="https://postgis.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('postgresql' 'gdal' 'geos' 'json-c' 'libxml2' 'libxslt')
makedepends=('git')
conflicts=('postgis')
provides=('postgis')
source=("${pkgname}::git+https://git.osgeo.org/gitea/postgis/postgis.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
}
|