diff options
author | Chanathip Srithanrat | 2017-12-09 09:43:51 +0700 |
---|---|---|
committer | Chanathip Srithanrat | 2017-12-09 09:43:51 +0700 |
commit | 01ee1941fcdc3e6d23e5a19202adbd980f29fc17 (patch) | |
tree | d62eb1a6b801b66e12e9172dae2ca9497d29c3e9 | |
parent | 8ac5e642b751038654489fc72b1bd416783bba47 (diff) | |
download | aur-01ee1941fcdc3e6d23e5a19202adbd980f29fc17.tar.gz |
v4.1.5-3
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 6 deletions
@@ -1,11 +1,11 @@ pkgbase = macos-icon-theme pkgdesc = macOS Icons Theme pkgver = 4.1.5 - pkgrel = 2 + pkgrel = 3 url = https://www.opendesktop.org/p/1102582/ arch = any depends = gtk-update-icon-cache - source = https://dl.opendesktop.org/api/files/download/id/1510321229/macOS.tar.xz + source = https://dl.opendesktop.org/api/files/downloadfile/id/1510321229/s/d62cbb1d3dd19a4a7a3c859aa97e84ba/t/1512790970/macOS.tar.xz md5sums = 056982040d0efdcf4fa93b0e5bc9bc3d pkgname = macos-icon-theme @@ -2,22 +2,25 @@ pkgname='macos-icon-theme' pkgver=4.1.5 -pkgrel=2 +pkgrel=3 pkgdesc='macOS Icons Theme' arch=('any') url='https://www.opendesktop.org/p/1102582/' depends=('gtk-update-icon-cache') -source=('https://dl.opendesktop.org/api/files/download/id/1510321229/macOS.tar.xz') + +# 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/1510321229/s/$_s/t/$_t/macOS.tar.xz") md5sums=('056982040d0efdcf4fa93b0e5bc9bc3d') prepare() { - cd "$srcdir" find -name '* *' -delete cp macOS/status/symbolic/*.svg macOS/devices/symbolic mv macOS/apps/128/accessories_calculator.png macOS/apps/128/accessories-calculator.png } package() { - cd "$srcdir" find */ -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/icons/{}" \; } |