blob: be29d21d67508021d19ef4309c48af79a72c2905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Ward Segers <w@rdsegers.be>
# Contributer: grimi <grimi at poczta dot fm>
pkgname=matcha-icon-theme
pkgver=20191202
pkgrel=1
pkgdesc="A Matcha icon theme based on Arc"
arch=('any')
url='https://www.gnome-look.org/p/1187179'
license=('GPL3')
depends=('gtk-update-icon-cache')
_hash_time=($(curl -s "$url"|grep -e "hash =" -e "timetamp ="|sed "s/.*= '\(.*\)';/\1/"))
source=("${pkgname}-${pkgver}.tar.xz::https://dl.opendesktop.org/api/files/downloadfile/id/1517242250/s/${_hash_time[0]}/t/${_hash_time[1]}/Matcha-icon-theme.tar.xz")
sha256sums=('067193e09a3ec9058717bd93b9a64e74dcd66f6ff9c60e5193d1729a39fe3086')
prepare() {
sed -i 's/Arc/Matcha/; s/\(Moka,\)/\1elementary,/' Matcha/index.theme
}
package() {
find Matcha/ -type f -exec install -Dm644 "{}" "${pkgdir}/usr/share/icons/{}" \;
find Matcha/ -type l -exec cp -d "{}" "${pkgdir}/usr/share/icons/{}" \;
}
|