XyGrib: update to 1.2.2.

This commit is contained in:
maxice8 2019-01-14 16:03:39 -02:00 committed by maxice8
parent 67ecc7b57f
commit c0541baeb6
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
cd /usr/share/XyGrib cd /usr/lib/XyGrib
./XyGrib ./XyGrib

View file

@ -1,6 +1,6 @@
# Template file for 'XyGrib' # Template file for 'XyGrib'
pkgname=XyGrib pkgname=XyGrib
version=1.2.0 version=1.2.2
revision=1 revision=1
patch_args="-Np1" patch_args="-Np1"
build_style=cmake build_style=cmake
@ -11,7 +11,7 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://opengribs.org/" homepage="https://opengribs.org/"
distfiles="https://github.com/opengribs/XyGrib/archive/v${version}.tar.gz" distfiles="https://github.com/opengribs/XyGrib/archive/v${version}.tar.gz"
checksum=39942fe2e60ff3c86c2962500fb7daa4b424ecb297138b8baefcc6911226b134 checksum=59ae592fccf09703f2ebf7104773edf68852afc9fee18c9d5b23c3452becf4b5
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
make_build_args="LINK=${XBPS_CROSS_TRIPLET}-c++" make_build_args="LINK=${XBPS_CROSS_TRIPLET}-c++"
@ -27,4 +27,7 @@ post_install() {
vinstall ${FILESDIR}/XyGrib.png 0644 usr/share/icons vinstall ${FILESDIR}/XyGrib.png 0644 usr/share/icons
mv ${DESTDIR}/usr/XyGrib ${DESTDIR}/usr/share/ mv ${DESTDIR}/usr/XyGrib ${DESTDIR}/usr/share/
vmkdir usr/lib/XyGrib
mv ${DESTDIR}/usr/share/XyGrib/XyGrib ${DESTDIR}/usr/lib/XyGrib/XyGrib
} }