diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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() { |