summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Fox-Rabinovitz2018-11-17 11:31:44 -0500
committerJoseph Fox-Rabinovitz2018-11-17 11:35:02 -0500
commit28abbf5120fc4a02e2a1550f117bdc1c3776eee2 (patch)
tree2cb1f643487754c817473f0d037e6ce6474bcd1f
parenta001d02718185f6faec08e0464b0081fe0ec6f59 (diff)
downloadaur-28abbf5120fc4a02e2a1550f117bdc1c3776eee2.tar.gz
Why are we still manually updating version numbers?
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af86ccf3e6c6..f05e34101a13 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = panoply
pkgdesc = NetCDF, HDF and GRIB Data Viewer by NASA GISS
pkgver = 4.10.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.giss.nasa.gov/tools/panoply/
install = panoply.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index bde301b96566..8fdaa1a3c1d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: MadPhysicist <jfoxrabinovitz at gmail dot com>
pkgname=panoply
-pkgver=4.10.1
-pkgrel=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=2
pkgdesc='NetCDF, HDF and GRIB Data Viewer by NASA GISS'
arch=('any')
url='http://www.giss.nasa.gov/tools/panoply/'