summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-03-23 17:24:11 +0100
committerXZS2016-03-23 17:55:45 +0100
commit222e75fd00b9b33af92da134504c77703fe58e6c (patch)
treed343e697d7910253b44aa39566f80cc9e0e78bad
parent2ec926d3b769212708745e3b1c8eb1402706a27a (diff)
downloadaur-222e75fd00b9b33af92da134504c77703fe58e6c.tar.gz
restore version significance
As it disappeared from the source archive content, the version prefix, denoting the compatible gnome-shell version, became static to continue counting versions without changing scheme. The actual current version number can be extracted from the description page of the theme, resurrecting it to its original meaning.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f88ed4794b4..66173bd9554c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,9 @@ pkgbase = aurora-themes
arch = any
license = GPL3
optdepends = gtk-engine-murrine: for GTK2 themes
+ source = version.html::http://opendesktop.org/content/show.php?content=170523
source = http://gnome-look.org/CONTENT/content-files/170523-Dark-Aurora.tar.gz
+ sha256sums = 68991e89036a271fec7f8b6408416a6c2817f298ef326365117fe41b1b5222b5
sha256sums = 506332ec0d86b90f0e41be79875fa7b40bb923caf01c1412cf02020a6d056f28
pkgname = aurora-themes
diff --git a/PKGBUILD b/PKGBUILD
index 27fc2f035ce2..ae3b9c1cf78f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,11 +9,14 @@ arch=('any')
url="http://opendesktop.org/content/show.php?content=170523"
license=('GPL3')
optdepends=("gtk-engine-murrine: for GTK2 themes")
-source=("http://gnome-look.org/CONTENT/content-files/${url##*=}-Dark-Aurora.tar.gz")
-sha256sums=('506332ec0d86b90f0e41be79875fa7b40bb923caf01c1412cf02020a6d056f28')
+source=("version.html::$url"
+ "http://gnome-look.org/CONTENT/content-files/${url##*=}-Dark-Aurora.tar.gz")
+sha256sums=('68991e89036a271fec7f8b6408416a6c2817f298ef326365117fe41b1b5222b5'
+ '506332ec0d86b90f0e41be79875fa7b40bb923caf01c1412cf02020a6d056f28')
pkgver() {
- echo -n "3.18."
+ sed -n 's/.*<h1.*>Dark Aurora<\/h1>.*<span class="contentdata">\([^<]\+\)<\/span>.*/\1/p' \
+ version.html | tr '\n' '.'
while read -rd $'\0'
do
if [[ "$REPLY" -gt "$max" ]]