commit:     1be3fa3bf69869b4b00f079d9ad01568460b0864
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Wed Nov 29 19:19:27 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Wed Nov 29 19:19:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1be3fa3b

app-misc/nwg-look: simplify the ebuild with xdg eclass

xdg-utils -> xdg, it takes care of everything xdg related automatically
Signed-off-by: Remigiusz Micielski <rmicielski <AT> purelymail.com>

 app-misc/nwg-look/nwg-look-0.2.5.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/app-misc/nwg-look/nwg-look-0.2.5.ebuild 
b/app-misc/nwg-look/nwg-look-0.2.5.ebuild
index 2668d02b86..d93fae7390 100644
--- a/app-misc/nwg-look/nwg-look-0.2.5.ebuild
+++ b/app-misc/nwg-look/nwg-look-0.2.5.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v${PV}.tar.gz -
                                
https://github.com/micielski/nwg-look-vendor/releases/download/${PV}/nwg-look-${PV}-vendor.tar.xz
 "
 
-inherit go-module xdg-utils desktop
+inherit go-module xdg desktop
 
 LICENSE="MIT"
 SLOT="0"
@@ -42,13 +42,3 @@ src_install() {
        doins stuff/nwg-look.svg
        domenu stuff/nwg-look.desktop
 }
-
-pkg_postinst() {
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}

Reply via email to