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@purelymail.com>
This commit is contained in:
Remigiusz Micielski
2023-11-29 20:19:27 +01:00
parent 2ea92af2da
commit 1be3fa3bf6

View File

@@ -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
}