commit:     9396df7cac1d2cf85a964541573c758ad256166c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 07:57:35 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 07:58:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9396df7c

kde-frameworks/purpose: Add missing xdg_icon_cache_update

Closes: https://bugs.gentoo.org/739538
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/purpose/purpose-5.73.0.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/purpose/purpose-5.73.0.ebuild 
b/kde-frameworks/purpose/purpose-5.73.0.ebuild
index 53c1c4293f2..1549b21bb7a 100644
--- a/kde-frameworks/purpose/purpose-5.73.0.ebuild
+++ b/kde-frameworks/purpose/purpose-5.73.0.ebuild
@@ -7,7 +7,7 @@ ECM_QTHELP="false"
 ECM_TEST="forceoptional"
 PVCUT=$(ver_cut 1-2)
 QTMIN=5.14.2
-inherit ecm kde.org
+inherit ecm kde.org xdg-utils
 
 DESCRIPTION="Library for providing abstractions to get the developer's 
purposes fulfilled"
 LICENSE="LGPL-2.1+"
@@ -48,11 +48,16 @@ src_configure() {
        ecm_src_configure
 }
 
-pkg_postinst(){
+pkg_postinst() {
        ecm_pkg_postinst
+       xdg_icon_cache_update
 
        if ! has_version "kde-misc/kdeconnect[app]" ; then
                elog "Optional runtime dependency:"
                elog "kde-misc/kdeconnect[app] (send through KDE Connect)"
        fi
 }
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to