diff options
author | Chanathip Srithanrat | 2018-04-15 17:48:23 +0700 |
---|---|---|
committer | Chanathip Srithanrat | 2018-04-15 17:48:23 +0700 |
commit | 9671850cf3041fcb2ff3cf37f917ae19a1151358 (patch) | |
tree | 772aef187ab9149c3f8ef2552f8ceff2059222b6 | |
download | aur-9671850cf3041fcb2ff3cf37f917ae19a1151358.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..36d6176d6906 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = macos11-icon-theme + pkgdesc = macOS11 iCons Collection + pkgver = 1.0 + pkgrel = 1 + url = https://www.opendesktop.org/p/1102582/ + arch = any + license = GPL + depends = gtk-update-icon-cache + source = https://dl.opendesktop.org/api/files/downloadfile/id/1523583881/s/$_s/t/$_t/macos11-icon-theme-1.0.tar.xz + md5sums = 83f555a75ef470f96c3291b0bb0bb68c + +pkgname = macos11-icon-theme + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1151d84c4585 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Chanathip Srithanrat <axesd9@gmail.com> + +pkgname=macos11-icon-theme +pkgver=1.0 +pkgrel=1 +pkgdesc='macOS11 iCons Collection' +arch=('any') +url='https://www.opendesktop.org/p/1102582/' +license=('GPL') +depends=('gtk-update-icon-cache') + +# 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/1523583881/s/$_s/t/$_t/$pkgname-$pkgver.tar.xz") +md5sums=('83f555a75ef470f96c3291b0bb0bb68c') + +prepare() { + find -name '* *' -delete + cp macOS11/status/symbolic/*.svg macOS11/devices/symbolic +} + +package() { + install -dm755 $pkgdir/usr/share/icons + cp -r macOS11 $pkgdir/usr/share/icons +} |