summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1018b321a521441b0e5b0e84daeb4b682df62de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Pierre DOUCET <pierre at equinoxefr.org>
pkgname=zygrib-maps
pkgver=2.4
pkgrel=3
pkgdesc="High resolution maps for zyGrib"
arch=('any')
url="https://www.zygrib.org/"
license=('GPL')
depends=()
source=(zygrib_maps$pkgver.tgz::https://www.zygrib.org/getfile.php?file=zyGrib_maps$pkgver.tgz)
md5sums=('43324f8e8c7e9aa4e2f12dea4ae25d49')
# site works with cookies, which forces you to visit index.html first for the cookie
DLAGENTS=('https::/usr/bin/curl -fLC - --cookie nada -o /dev/null %u --next --cookie nada  --retry-delay 3 -o %o %u')

package() {
   install -d -m 755 $pkgdir/opt/zygrib/data/maps/gshhs
   # README files already exist in package zygrib so we don't copy *
   install -m 644 $srcdir/data/maps/gshhs/*.{rim,cat,cel,b} $pkgdir/opt/zygrib/data/maps/gshhs
  }