postgis-postgresql15: update to 3.4.0.

This commit is contained in:
Piotr Wójcik 2023-11-10 12:08:00 +01:00 committed by Chocimier
parent 75c6dd10c8
commit 76dc4a1d73
1 changed files with 10 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'postgis-postgresql15'
pkgname=postgis-postgresql15
version=3.3.4
revision=2
version=3.4.0
revision=1
build_style=gnu-configure
configure_args="
--bindir=/usr/lib/psql15/bin
--with-projdir=${XBPS_CROSS_BASE}/usr
--with-jsondir=${XBPS_CROSS_BASE}/usr
--with-protobufdir=${XBPS_CROSS_BASE}/usr
@ -19,7 +20,7 @@ license="GPL-2.0-or-later"
homepage="https://postgis.net/"
changelog="https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"
distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz"
checksum=9d41eaef70e811a4fe2f4a431d144c0c57ce17c2c1a3c938ddaf4e5a3813b0d8
checksum=aee9b60a6c884d354164b3096c4657f324454186607f859d1ce05d899798af9d
nocross="FIXME: Cannot run test program to determine PROJ version"
pre_configure() {
@ -30,3 +31,9 @@ pre_check() {
# regression tests require running postgresql
vsed -i regress/run_test.pl -e '/\/usr\/bin\/env/ a exit;'
}
post_install() {
for i in ${DESTDIR}/usr/share/man/man1/*; do
mv -v "${i}" "${i/.1/-15.1}"
done
}