grass: update to 7.6.1
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
cccaa38d8f
commit
fe6830c365
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'grass'
|
# Template file for 'grass'
|
||||||
pkgname=grass
|
pkgname=grass
|
||||||
version=7.4.1
|
version=7.6.1
|
||||||
revision=3
|
revision=1
|
||||||
_binver=${version//./}
|
_binver=${version//./}
|
||||||
_binver=${_binver:0:2}
|
_binver=${_binver:0:2}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -16,10 +16,13 @@ maintainer="Alex Jarosch <research@alexj.at>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://grass.osgeo.org/"
|
homepage="https://grass.osgeo.org/"
|
||||||
distfiles="https://grass.osgeo.org/grass${_binver}/source/${pkgname}-${version}.tar.gz"
|
distfiles="https://grass.osgeo.org/grass${_binver}/source/${pkgname}-${version}.tar.gz"
|
||||||
checksum=560b8669caaafa9e8dbd4bbf2b4b4bbab7dca1cc46ee828eaf26c744fe0635fc
|
checksum=9e25c99cafd16ed8f5e2dca75b5a10dc2af0568dbedf3fc39f1c5a0a9c840b0b
|
||||||
|
|
||||||
post_install() {
|
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
|
# fixes a todo in GISBASE
|
||||||
sed -i ${DESTDIR}/usr/bin/grass${_binver} \
|
sed -i ${DESTDIR}/usr/bin/grass${_binver} \
|
||||||
-e "105s;\(gisbase =\).*;\1 \"/usr/share/grass-${version}\";"
|
-e "105s;\(gisbase =\).*;\1 \"/usr/lib/grass-${version}\";"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue