diff options
author | Ainola | 2018-11-11 14:06:53 -0700 |
---|---|---|
committer | Ainola | 2018-11-11 14:06:53 -0700 |
commit | 345b83962f62427eea9c568ac59ab4eadd4d53b9 (patch) | |
tree | 13aaff96353019faf69766b8cb48a79c0a0ab127 /PKGBUILD | |
download | aur-xcursor-pixelfun3.tar.gz |
switch to updated upstream, rename pkg, license
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..30ccdee47715 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Ainola +# Contributor: Anthony Samartsev + +pkgname=xcursor-pixelfun3 +epoch=1 +pkgver=1.3 +pkgrel=1 +pkgdesc="Minimalistic cursor theme with a piece of old-school" +arch=('any') +url="https://www.gnome-look.org/p/1190830/" +license=('unknown') # No license provided +makedepends=('curl') +# opendesktop.org-based platforms constantly change two chunks of their source +# URL. We must get both values from the same call. +_tstamps=($(curl -s "$url" | grep -e "hash =" -e 'timetamp =' | sed "s/.*= '\\(.*\\)';/\\1/")) +source=("$pkgname-$pkgver.tar.gz::https://dl.opendesktop.org/api/files/download/id/1505142083/s/${_tstamps[0]}/t/${_tstamps[1]}/u//168338-pixelfun3.tar.gz") +sha256sums=('05cb3a14a2e32640c9e0fb9567df8c27b483d7e3cff72751720825a8266e5496') + +package() { + mkdir -p "$pkgdir/usr/share/icons" + cp -r pixelfun3 "$pkgdir/usr/share/icons/" + find "$pkgdir/usr/share/icons/pixelfun3" -type f -exec chmod 644 {} + + find "$pkgdir/usr/share/icons/pixelfun3" -type d -exec chmod 755 {} + +} |