diff options
author | Daniel Ruiz de Alegría | 2018-02-19 03:00:50 +0100 |
---|---|---|
committer | Daniel Ruiz de Alegría | 2018-02-19 03:00:50 +0100 |
commit | 8a10d71265ecab0322f71fcbcf5f13463d86faee (patch) | |
tree | 48c26cb6fdcc3ec70bf20aea29843ec77295f2d6 | |
parent | 48b0455369a259a8bdcfecb5b4179032fdbac290 (diff) | |
download | aur-8a10d71265ecab0322f71fcbcf5f13463d86faee.tar.gz |
Add icon-cache
-rwxr-xr-x | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -19,5 +19,13 @@ package() { cd "${srcdir}/${pkgname}/" install -dm755 "${pkgdir}/usr/share/icons" cp -a "Flat-Remix"* "${pkgdir}/usr/share/icons/" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + for theme in \ + "Flat-Remix" \ + "Flat-Remix-Dark" \ + "Flat-Remix-Light" + do + /bin/touch --no-create /usr/share/icons/${theme} &>/dev/null || : + /usr/bin/gtk-update-icon-cache -q /usr/share/icons/${theme} || : + done + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |