From fe6830c365dc311ed4df61cb2a6dce4b15b18783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 12 May 2019 13:10:43 +0200 Subject: [PATCH] grass: update to 7.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/grass/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/grass/template b/srcpkgs/grass/template index 9007254ecb..de0fd44d20 100644 --- a/srcpkgs/grass/template +++ b/srcpkgs/grass/template @@ -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 " 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}\";" }