commit:     f8bffcde1e9da31f06ec54c9ce89116096fb7237
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 03:25:46 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 03:25:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8bffcde

net-news/rssguard: xdg-utils -> xdg

xdg.eclass has some nice logic to automatically
update the various caches, so we save a few lines.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-news/rssguard/rssguard-3.8.3.ebuild | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/net-news/rssguard/rssguard-3.8.3.ebuild 
b/net-news/rssguard/rssguard-3.8.3.ebuild
index ee3584a663e..974794479bf 100644
--- a/net-news/rssguard/rssguard-3.8.3.ebuild
+++ b/net-news/rssguard/rssguard-3.8.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic xdg-utils qmake-utils
+inherit flag-o-matic qmake-utils xdg
 
 DESCRIPTION="Tiny RSS and Atom feed reader"
 HOMEPAGE="https://github.com/martinrotter/rssguard";
@@ -29,6 +29,7 @@ RDEPEND="${DEPEND}"
 
 src_prepare() {
        default
+
        ebegin 'Sedding pri/install.pri to install to $(get_libdir)'
        if grep -q 'lib.path = $$quote($$PREFIX/lib/)' pri/install.pri; then
                sed -i \
@@ -55,11 +56,3 @@ src_configure() {
 src_install() {
        emake install INSTALL_ROOT="${D}"
 }
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

Reply via email to