void-packages/srcpkgs/XyGrib/template

31 lines
901 B
Bash
Raw Normal View History

2018-06-18 13:03:00 -05:00
# Template file for 'XyGrib'
pkgname=XyGrib
2018-11-18 17:08:50 -02:00
version=1.2.0
2018-10-07 15:20:52 -05:00
revision=1
2018-06-18 13:03:00 -05:00
patch_args="-Np1"
2018-10-07 15:20:52 -05:00
build_style=cmake
hostmakedepends="qt5-devel pkg-config"
makedepends="jasper-devel libnova-devel nettle-devel proj-devel qt5-devel qwt-devel libopenjpeg2-devel"
2018-06-18 13:03:00 -05:00
short_desc="Weather data visulization"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://opengribs.org/"
2018-10-07 15:20:52 -05:00
distfiles="https://github.com/opengribs/XyGrib/archive/v${version}.tar.gz"
2018-11-18 17:08:50 -02:00
checksum=39942fe2e60ff3c86c2962500fb7daa4b424ecb297138b8baefcc6911226b134
2018-06-18 13:03:00 -05:00
2018-11-18 17:08:50 -02:00
if [ "$CROSS_BUILD" ]; then
2018-06-18 13:03:00 -05:00
make_build_args="LINK=${XBPS_CROSS_TRIPLET}-c++"
fi
post_install() {
vbin ${FILESDIR}/XyGrib
vmkdir usr/share/applications
vinstall ${FILESDIR}/XyGrib.desktop 0644 usr/share/applications
vmkdir usr/share/icons
vinstall ${FILESDIR}/XyGrib.png 0644 usr/share/icons
2018-10-07 15:20:52 -05:00
mv ${DESTDIR}/usr/XyGrib ${DESTDIR}/usr/share/
2018-06-18 13:03:00 -05:00
}