diff options
author | Max J Rodríguez Beltrán | 2017-12-11 18:00:52 -0700 |
---|---|---|
committer | Max J Rodríguez Beltrán | 2017-12-11 18:00:52 -0700 |
commit | 69168a18c93d90dd88fe6f02970a40abad80eecf (patch) | |
tree | 491baa19bbd0958ba174efbacf9851d51f82e90a | |
parent | 3196edf2e1175a49161c3e7abe6ced5cd6d20feb (diff) | |
download | aur-69168a18c93d90dd88fe6f02970a40abad80eecf.tar.gz |
Updated to version 1.0.3-4
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -1,11 +1,11 @@ pkgbase = ant-nebula-gtk-theme pkgdesc = Ant Nebula Theme for GTK 3.x pkgver = 1.0.3 - pkgrel = 3 + pkgrel = 4 url = https://www.gnome-look.org/p/1099856/ arch = any depends = gtk3 - source = https://dl.opendesktop.org/api/files/download/id/1511326981/Ant-Nebula.tar + source = https://dl.opendesktop.org/api/files/downloadfile/id/1511326981/s/$_s/t/$_t/Ant-Nebula.tar md5sums = a18a71424b019043df3cf5243f515d36 pkgname = ant-nebula-gtk-theme @@ -1,13 +1,18 @@ pkgname=ant-nebula-gtk-theme pkgver=1.0.3 -pkgrel=3 +pkgrel=4 pkgdesc="Ant Nebula Theme for GTK 3.x" arch=(any) url=https://www.gnome-look.org/p/1099856/ depends=('gtk3') -source=("https://dl.opendesktop.org/api/files/download/id/1511326981/Ant-Nebula.tar") md5sums=('a18a71424b019043df3cf5243f515d36') +# Hash and Timestamp (taken from macos-icon-theme pkgbuild) +_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/1511326981/s/$_s/t/$_t/Ant-Nebula.tar") + package(){ cd "$srcdir" find */ -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \; |