summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordonGR2018-03-15 16:17:06 +0200
committerGordonGR2018-03-15 16:17:06 +0200
commitba741e75a997690e822dba08a1fe77e1aba14ce1 (patch)
treec100b66ec9062ed48dd45b45d82fc080d4249cc0
parenteab24d15f801b5b5d05734aee03ffa64f3e1c936 (diff)
downloadaur-ba741e75a997690e822dba08a1fe77e1aba14ce1.tar.gz
0.3-3: Workaround for the opendesktop.org API problem
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9fdd2046700a..2763f8e90268 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index f47278954473..57d5e5e09fb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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')