diff options
author | GordonGR | 2018-03-15 16:44:07 +0200 |
---|---|---|
committer | GordonGR | 2018-03-15 16:44:07 +0200 |
commit | 1838efb40a9f066878d89fa7975a86df91dc3751 (patch) | |
tree | 74748eaa27d377a1b870fd6819438aff1debbe05 | |
parent | e77fb180692bf870df151802c72be0e47ddf38fd (diff) | |
download | aur-1838efb40a9f066878d89fa7975a86df91dc3751.tar.gz |
1-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:43:48 UTC 2018 +# Thu Mar 15 14:43:26 UTC 2018 pkgbase = xcursor-atto pkgdesc = A non-conventional circular cursor theme, built with pen and touch based input in mind pkgver = 1 - pkgrel = 2 + pkgrel = 3 url = https://www.gnome-look.org/p/999542/ arch = any license = GPL - source = https://dl.opendesktop.org/api/files/downloadfile/id/1460734305/s/4b0e9c9000653d8c27dfd79cfcbc5408/t/1515865201/u//167180-Atto-cursor.tar.gz + source = https://dl.opendesktop.org/api/files/downloadfile/id/1460734305/s/0f2a790cc3c16a0d6c1fcb79a5904628/t/1521128701/u//167180-Atto-cursor.tar.gz md5sums = b53e4df14519c675cf973f2f44257555 pkgname = xcursor-atto @@ -2,13 +2,18 @@ pkgname=xcursor-atto pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc="A non-conventional circular cursor theme, built with pen and touch based input in mind" arch=('any') url="https://www.gnome-look.org/p/999542/" license=('GPL') depends=() -source=("https://dl.opendesktop.org/api/files/downloadfile/id/1460734305/s/4b0e9c9000653d8c27dfd79cfcbc5408/t/1515865201/u//167180-Atto-cursor.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/1460734305/s/$_s/t/$_t/u//167180-Atto-cursor.tar.gz") md5sums=('b53e4df14519c675cf973f2f44257555') package() { |