# Template file for 'XyGrib-maps'
pkgname=XyGrib-maps
version=2.4
revision=3
_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://github.com/opengribs/XyGrib/releases/download/v${_xygribver}/XyGrib___High_Resolution_Maps.tar.gz"
checksum=164d0bca0ab118f242d6d10dfb6e6b2f3eacdcf2781b532336e02a2d223a0d0d

do_install() {
	vmkdir usr/share/XyGrib
	bsdtar -xf "XyGrib___High_Resolution_Maps.tar.gz"   \
	 -C ${DESTDIR}/usr/share/XyGrib                     \
	 --strip-components=1                               \
	 --exclude="README.gshhs*"
}
