summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGordonGR2018-03-15 16:44:07 +0200
committerGordonGR2018-03-15 16:44:07 +0200
commit1838efb40a9f066878d89fa7975a86df91dc3751 (patch)
tree74748eaa27d377a1b870fd6819438aff1debbe05 /PKGBUILD
parente77fb180692bf870df151802c72be0e47ddf38fd (diff)
downloadaur-xcursor-atto.tar.gz
1-3: Workaround for the opendesktop.org API problem
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 000cbf77c6e3..6de60f6ddab0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {