summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index edbe481ea3c..2bd356946d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = panoply-nodesktop
pkgdesc = NetCDF, HDF and GRIB Data Viewer by NASA GISS (no freedesktop.org support)
- pkgver = 4.10.1
+ pkgver = 4.10.5
pkgrel = 1
url = http://www.giss.nasa.gov/tools/panoply/
arch = any
@@ -11,7 +11,7 @@ pkgbase = panoply-nodesktop
source = http://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-4.10.1.zip
source = LICENSES
source = panoply-script.patch
- sha1sums = a62fedc0aaadaafec0509b0ac5094531376e1eda
+ sha1sums = d43e5fb8fcf8134beb07488f4c3d47034e947a29
sha1sums = a83855747414873269e21aaff1a53d13ab5de304
sha1sums = 707208d062922b5426303238870e0dd269257697
diff --git a/PKGBUILD b/PKGBUILD
index c743f3a816e..7f0676c7ca1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: MadPhysicist <jfoxrabinovitz at gmail dot com>
pkgname=panoply-nodesktop
-pkgver=4.10.1
+pkgver="$(curl https://www.giss.nasa.gov/tools/panoply/download/ 2>/dev/null | sed -n 's/The current version of Panoply is \([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\).*/\1/p')"
pkgrel=1
pkgdesc='NetCDF, HDF and GRIB Data Viewer by NASA GISS (no freedesktop.org support)'
arch=('any')
@@ -21,7 +21,8 @@ source=("http://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-${pkgver}.zip"
'LICENSES'
'panoply-script.patch')
noextract=()
-sha1sums=('a62fedc0aaadaafec0509b0ac5094531376e1eda'
+_sha1="$(curl https://www.giss.nasa.gov/tools/panoply/download/Panoply-${pkgver}.sha1.txt 2>/dev/null | grep 'PanoplyJ.*.zip' | grep -o '^[^ ]*')"
+sha1sums=("$_sha1}"
'a83855747414873269e21aaff1a53d13ab5de304'
'707208d062922b5426303238870e0dd269257697')