grass: update to 7.6.1

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-12 13:10:43 +02:00
parent cccaa38d8f
commit fe6830c365
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -1,7 +1,7 @@
# Template file for 'grass'
pkgname=grass
version=7.4.1
revision=3
version=7.6.1
revision=1
_binver=${version//./}
_binver=${_binver:0:2}
build_style=gnu-configure
@ -16,10 +16,13 @@ maintainer="Alex Jarosch <research@alexj.at>"
license="GPL-2.0-or-later"
homepage="https://grass.osgeo.org/"
distfiles="https://grass.osgeo.org/grass${_binver}/source/${pkgname}-${version}.tar.gz"
checksum=560b8669caaafa9e8dbd4bbf2b4b4bbab7dca1cc46ee828eaf26c744fe0635fc
checksum=9e25c99cafd16ed8f5e2dca75b5a10dc2af0568dbedf3fc39f1c5a0a9c840b0b
post_install() {
# move grass76 libraries from /usr/share to /usr/lib
vmkdir usr/lib
mv ${DESTDIR}/usr/share/grass* ${DESTDIR}/usr/lib
# fixes a todo in GISBASE
sed -i ${DESTDIR}/usr/bin/grass${_binver} \
-e "105s;\(gisbase =\).*;\1 \"/usr/share/grass-${version}\";"
-e "105s;\(gisbase =\).*;\1 \"/usr/lib/grass-${version}\";"
}