commit:     9d2f8bd0a74018714afa204560bfbdc7ded2fbd8
Author:     ingenarel (NeoJesus) <ingenarel_neojesus <AT> disroot <DOT> org>
AuthorDate: Thu Feb 26 19:39:56 2026 +0000
Commit:     Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Thu Feb 26 19:39:56 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d2f8bd0

net-im/iamb: inherit xdg for properly doing pkg_post functions

Instead of the previous version where the ebuild was inheriting
xdg-utils eclass and pkg_post(inst|rm) was manually being set, inherit
the xdg eclass which actually sets the proper logic for
pkg_post(inst|rm) functions.

As recommended by
https://github.com/gentoo/guru/commit/8f67d1839802918ad75c1f4c2d6e984f647e2c80#r178222407

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus <AT> disroot.org>

 net-im/iamb/iamb-0.0.11.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/net-im/iamb/iamb-0.0.11.ebuild b/net-im/iamb/iamb-0.0.11.ebuild
index 97ea34d0ef..4384247d19 100644
--- a/net-im/iamb/iamb-0.0.11.ebuild
+++ b/net-im/iamb/iamb-0.0.11.ebuild
@@ -723,7 +723,7 @@ CRATES="
        [email protected]
 "
 
-inherit cargo desktop xdg-utils
+inherit cargo desktop xdg
 
 DESCRIPTION="A Matrix chat client that uses Vim keybindings"
 HOMEPAGE="https://iamb.chat/";
@@ -769,13 +769,3 @@ src_install() {
 
        cargo_src_install
 }
-
-pkg_postinst() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-}

Reply via email to