summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2016-04-27 19:58:46 +0200
committerGordian Edenhofer2016-04-27 19:58:46 +0200
commitcd81ef04758af26ce6666e73377b1833bd11da66 (patch)
treecff020ccf1c3de3fdf1714475a645aafe4ea8490
parentef2b2b18f80e43c054bcf4577155604d194e7d83 (diff)
downloadaur-cd81ef04758af26ce6666e73377b1833bd11da66.tar.gz
upgpkg: luv-icon-theme-git 0.3.r4.g3c53fec-1
The theme cache is now updated with alpm hooks. Therefore making the .install file for this package obsolete.
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
-rw-r--r--luv-icon-theme-git.install22
3 files changed, 0 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11ad159a6c42..ee5074d0b977 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,6 @@ pkgbase = luv-icon-theme-git
pkgver = 0.3.r4.g3c53fec
pkgrel = 1
url = https://github.com/NitruxSA/luv-icon-theme
- install = luv-icon-theme-git.install
arch = any
license = custom:CC BY-SA 4.0
makedepends = git
diff --git a/PKGBUILD b/PKGBUILD
index 4f918a3a4e13..c68a23764e2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,6 @@ depends=('librsvg')
makedepends=('git')
provides=('flattr-icon-theme' 'luv-icon-theme')
conflicts=('flattr-icon-theme' 'luv-icon-theme')
-install="${pkgname}.install"
source=("${pkgname}"::'git+https://github.com/NitruxSA/luv-icon-theme.git')
md5sums=('SKIP')
diff --git a/luv-icon-theme-git.install b/luv-icon-theme-git.install
deleted file mode 100644
index 054fd1281235..000000000000
--- a/luv-icon-theme-git.install
+++ /dev/null
@@ -1,22 +0,0 @@
-_update() {
- echo -e "\e[34;1m==>\e[39;1m Updating icon cache...\e[0m"
- gtk-update-icon-cache -q /usr/share/icons/Luv
- gtk-update-icon-cache -q /usr/share/icons/Luv\ Dark
-}
-
-post_install() {
- _update
-}
-
-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
-}