summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authordaert2018-10-22 11:53:37 +0200
committerdaert2018-10-22 11:53:37 +0200
commit9a49b361e58a1ec2997d40d8a1509fd33ed9ef5b (patch)
tree555fbfbda9cc719cbfebef76c455b3278aefeeed /PKGBUILD
parent80603ba7d8d6615acf2c56a9c589e1fee5e856bc (diff)
downloadaur-9a49b361e58a1ec2997d40d8a1509fd33ed9ef5b.tar.gz
Updated sources retrieve method
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 85ed76da8fb4..4fb7cd43d227 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,13 @@
pkgname=xcursor-osx-elcap
pkgver=1.00
-pkgrel=2
+pkgrel=3
pkgdesc="Cursor theme from OSX"
arch=('any')
url="https://www.gnome-look.org/p/1084939/"
license=('GPL')
-source=('https://dl.opendesktop.org/api/files/download/id/1461053384/s/5181570ce2c989844ec7333fddc6ed67/t/1540199030/u/175749-OSX-ElCap.tar.bz2')
+_hash_time=($(curl -s "$url"|grep -e "hash =" -e "timetamp ="|sed "s/.*= '\(.*\)';/\1/"))
+source=("https://dl.opendesktop.org/api/files/downloadfile/id/1461053384/s/${_hash_time[0]}/t/${_hash_time[1]}/u/175749-OSX-ElCap.tar.bz2")
sha512sums=('ae880f22446a531137250aec8bf282f1b68cfafe86cf742d13b950c7a3cf8ae923efecffde3915dd9d320dd549c0bcbea51b8be1a6f97ae7548b203ea09c4d39')
build() {