XyGrib-maps: update path location to match XyGrib

- Update download URL
This commit is contained in:
Andrew Benson 2018-10-07 15:40:30 -05:00 committed by maxice8
parent 1eba3ff9d2
commit f1b8cafc67
1 changed files with 8 additions and 6 deletions

View File

@ -1,20 +1,22 @@
# Template file for 'XyGrib-maps'
pkgname=XyGrib-maps
version=2.4
revision=1
revision=2
_xygribver=1.1.1
build_style=fetch
depends="XyGrib"
short_desc="XyGrib - high resolution maps"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://opengribs.org"
distfiles="https://opengribs.org/en/downloads/send/3-maps/3-xygrib_maps${version/./-}"
checksum=3cd6bf3de709ff4afb193a7bb5455f28d6ab540687a97f2d978bd0a21592750e
distfiles="https://github.com/opengribs/XyGrib/releases/download/v${_xygribver}/XyGrib___High_Resolution_Maps.tar.gz"
checksum=164d0bca0ab118f242d6d10dfb6e6b2f3eacdcf2781b532336e02a2d223a0d0d
noarch=yes
do_install() {
vmkdir usr/libexec/XyGrib
tar zxf "3-xygrib_maps${version/./-}" \
-C ${DESTDIR}/usr/libexec/XyGrib \
vmkdir usr/share/XyGrib
tar zxf "XyGrib___High_Resolution_Maps.tar.gz" \
-C ${DESTDIR}/usr/share/XyGrib \
--strip-components=1 \
--exclude="README.gshhs*"
}