summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoseph R. Fox-Rabinovitz2019-04-26 23:27:38 -0400
committerJoseph R. Fox-Rabinovitz2019-04-26 23:27:38 -0400
commit6549ad26875ef45b79efc3f6ab8cfff23989cf32 (patch)
treeaa186adf4ee8486ad765ef9267977bf4944a8dcd /PKGBUILD
parent79d5f67833f6d6d852c8b57a8560bb41eb375340 (diff)
downloadaur-panoply-nodesktop.tar.gz
Updated to 4.10.5
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c743f3a816e6..7f0676c7ca18 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')