summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Haß2017-12-20 13:36:37 +0100
committerDaniel Haß2017-12-20 13:36:37 +0100
commitf109b2d2118fc3876d25224b6e33f4cfef7dd617 (patch)
treee0af0168be9324b6fb02c2a898e851fd99e3cb65
parenta15ec45b1381d5f4f3de32d643631634016d0ffc (diff)
downloadaur-f109b2d2118fc3876d25224b6e33f4cfef7dd617.tar.gz
fixed gnome-looks api error
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7e8e6e83c0a..b6a6c7245082 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
# Generated by mksrcinfo v8
-# Sat Dec 16 10:31:21 UTC 2017
+# Wed Dec 20 12:36:27 UTC 2017
pkgbase = gtk-theme-numix-sx
pkgdesc = Gray variation of numix theme for Cinnamon/Gnome
pkgver = 20170424
- pkgrel = 3
+ pkgrel = 4
url = https://www.gnome-look.org/p/1117412/
arch = any
license = GPL3
depends = gtk-engine-murrine
conflicts = gtk-theme-numix-sx-beta
- source = https://dl.opendesktop.org/api/files/downloadfile/id/1493077417/s/dcd07680646afba206adeb10be25cf14/t/1513423444/Numix-SX.tar.xz
+ source = https://dl.opendesktop.org/api/files/downloadfile/id/1493077417/s/3b55ede71c3f4550f21128c7be573ba8/t/1513776987/Numix-SX.tar.xz
sha256sums = 7e1983924b2d90e89eddb3da8f4c43dc1326fe138fd191c8212c7904dcd618b0
pkgname = gtk-theme-numix-sx
diff --git a/PKGBUILD b/PKGBUILD
index ba13b6360b0a..abd16394518e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,19 @@
# Maintainer: Daniel Haß <aur@hass.onl>
pkgname=gtk-theme-numix-sx
pkgver=20170424
-pkgrel=3
+pkgrel=4
pkgdesc="Gray variation of numix theme for Cinnamon/Gnome"
arch=('any')
url="https://www.gnome-look.org/p/1117412/"
license=('GPL3')
depends=('gtk-engine-murrine')
conflicts=('gtk-theme-numix-sx-beta')
-source=('https://dl.opendesktop.org/api/files/downloadfile/id/1493077417/s/dcd07680646afba206adeb10be25cf14/t/1513423444/Numix-SX.tar.xz')
+
+# Hash and Timestamp (taken from macos-icon-theme)
+_p="var \(hash = '\(.*\)\|timetamp = '\(.*\)\)';"
+read _s _t <<< $(echo -n $(curl -s $url | sed -n "s/$_p/\2\3/p"))
+
+source=("https://dl.opendesktop.org/api/files/downloadfile/id/1493077417/s/$_s/t/$_t/Numix-SX.tar.xz")
sha256sums=('7e1983924b2d90e89eddb3da8f4c43dc1326fe138fd191c8212c7904dcd618b0')
package() {