diff options
author | GordonGR | 2018-03-15 16:17:06 +0200 |
---|---|---|
committer | GordonGR | 2018-03-15 16:17:06 +0200 |
commit | ba741e75a997690e822dba08a1fe77e1aba14ce1 (patch) | |
tree | c100b66ec9062ed48dd45b45d82fc080d4249cc0 | |
parent | eab24d15f801b5b5d05734aee03ffa64f3e1c936 (diff) | |
download | aur-ba741e75a997690e822dba08a1fe77e1aba14ce1.tar.gz |
0.3-3: Workaround for the opendesktop.org API problem
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 10 insertions, 5 deletions
@@ -1,13 +1,13 @@ # Generated by mksrcinfo v8 -# Sat Jan 13 16:56:23 UTC 2018 +# Thu Mar 15 14:12:22 UTC 2018 pkgbase = xcursor-thedot pkgdesc = A mouse theme with circles pkgver = 0.3 - pkgrel = 2 + pkgrel = 3 url = https://www.gnome-look.org/p/999763/ arch = any license = GPL - source = https://dl.opendesktop.org/api/files/downloadfile/id/1464310837/s/464d187e09a027b8a6668d1f749df6ec/t/1515866028/u//174031-DOT_0.3.tar.gz + source = https://dl.opendesktop.org/api/files/downloadfile/id/1464310837/s/a5cb3e0a7b362ba8c2b3bf1b74a677c5/t/1521126837/u//174031-DOT_0.3.tar.gz source = thedot.patch md5sums = 283b367cbc93c3cad05fa044b8499248 md5sums = b482b06b978dd30b4fd2a8943cb3508a @@ -2,13 +2,18 @@ pkgname=xcursor-thedot pkgver=0.3 -pkgrel=2 +pkgrel=3 pkgdesc="A mouse theme with circles" arch=('any') url="https://www.gnome-look.org/p/999763/" license=('GPL') depends=() -source=("https://dl.opendesktop.org/api/files/downloadfile/id/1464310837/s/464d187e09a027b8a6668d1f749df6ec/t/1515866028/u//174031-DOT_0.3.tar.gz" + +# Hash and Timestamp +_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/1464310837/s/$_s/t/$_t/u//174031-DOT_0.3.tar.gz" "thedot.patch") md5sums=('283b367cbc93c3cad05fa044b8499248' 'b482b06b978dd30b4fd2a8943cb3508a') |