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 | |
download | aur-345b83962f62427eea9c568ac59ab4eadd4d53b9.tar.gz |
switch to updated upstream, rename pkg, license
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..056b0f529233 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = xcursor-pixelfun3 + pkgdesc = Minimalistic cursor theme with a piece of old-school + pkgver = 1.3 + pkgrel = 1 + epoch = 1 + url = https://www.gnome-look.org/p/1190830/ + arch = any + license = unknown + makedepends = curl + source = xcursor-pixelfun3-1.3.tar.gz::https://dl.opendesktop.org/api/files/download/id/1505142083/s/179346e57f0597f8d26cef2add70500845b4f9af0d63cd73fdecffdf3fe4d023d836fd7cc7e7eecf28fd811164ed3139e960872316baddfa4a02682cf2034112/t/1541973798/u//168338-pixelfun3.tar.gz + sha256sums = 05cb3a14a2e32640c9e0fb9567df8c27b483d7e3cff72751720825a8266e5496 + +pkgname = xcursor-pixelfun3 + 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 {} + +} |