diff options
author | Gordian Edenhofer | 2016-04-27 00:24:58 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2016-04-27 00:24:58 +0200 |
commit | ef2b2b18f80e43c054bcf4577155604d194e7d83 (patch) | |
tree | 0fb81514fb964f493b458a0201beb3b5459fcc10 | |
parent | 219d08ef2ed55bbd8bea0a7d3bb9594becfc7ea6 (diff) | |
download | aur-ef2b2b18f80e43c054bcf4577155604d194e7d83.tar.gz |
upgpkg: luv-icon-theme-git 0.3.r4.g3c53fec-1
Correct path to icon-theme for cache generation in .install, since it
was renamed to luv.
Add post_remove function in .install to remove the icon-theme after the
package removal.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | luv-icon-theme-git.install | 12 |
3 files changed, 13 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = luv-icon-theme-git pkgdesc = The spiritual successor to Flattr, a flat but complex icon theme for freedesktop environments. - pkgver = 0.1.r3.g3de1abd + pkgver = 0.3.r4.g3c53fec pkgrel = 1 url = https://github.com/NitruxSA/luv-icon-theme install = luv-icon-theme-git.install @@ -2,7 +2,7 @@ # Submitter: Steffen L. Norgren (incongruous) <steffen[at]norgren[dot]ca> pkgname=luv-icon-theme-git -pkgver=0.1.r3.g3de1abd +pkgver=0.3.r4.g3c53fec pkgrel=1 pkgdesc="The spiritual successor to Flattr, a flat but complex icon theme for freedesktop environments." arch=('any') diff --git a/luv-icon-theme-git.install b/luv-icon-theme-git.install index a4387ad4c277..054fd1281235 100644 --- a/luv-icon-theme-git.install +++ b/luv-icon-theme-git.install @@ -1,6 +1,7 @@ _update() { echo -e "\e[34;1m==>\e[39;1m Updating icon cache...\e[0m" - gtk-update-icon-cache -q /usr/share/icons/Flattr + gtk-update-icon-cache -q /usr/share/icons/Luv + gtk-update-icon-cache -q /usr/share/icons/Luv\ Dark } post_install() { @@ -10,3 +11,12 @@ post_install() { post_upgrade() { _update } + +post_remove() { + echo -e "\e[34;1m==>\e[39;1m Removing icon cache...\e[0m" + rm -f /usr/share/icons/Luv/icon-theme.cache + rm -f /usr/share/icons/Luv\ Dark/icon-theme.cache + + rmdir --ignore-fail-on-non-empty /usr/share/icons/Luv + rmdir --ignore-fail-on-non-empty /usr/share/icons/Luv\ Dark +} |