mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user