media-gfx/evoluspencil: fix QA issue with insinto
authorAaron Bauman <bman@gentoo.org>
Thu, 12 Dec 2019 22:53:45 +0000 (17:53 -0500)
committerAaron Bauman <bman@gentoo.org>
Thu, 12 Dec 2019 22:54:19 +0000 (17:54 -0500)
* Use desktop.eclass instead for domenu

Signed-off-by: Aaron Bauman <bman@gentoo.org>
media-gfx/evoluspencil/evoluspencil-3.1.0-r1.ebuild

index 7d1292de6d5e0266b6caeb096c6486908273d7e5..4980879c87bb0ad5ecf7e174c1ae2deb342db14e 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit rpm xdg-utils
+inherit rpm xdg-utils desktop
 
 MY_PN="${PN/evolus/}"
 MY_PV="${PV}.ga"
@@ -66,8 +66,7 @@ src_install() {
        fperms 755 /opt/${MY_PN}/${MY_PN}
        dosym ../../opt/${MY_PN}/${MY_PN} /usr/bin/evoluspencil
 
-       insinto /usr/share/applications
-       doins "${FILESDIR}"/${MY_PN}.desktop
+       domenu "${FILESDIR}"/${MY_PN}.desktop
 
        mkdir -p "${D}"/usr/share/icons/hicolor/256x256/apps/ || die
        mv "${D}"/opt/${MY_PN}/${MY_PN}.png "${D}"/usr/share/icons/hicolor/256x256/apps/ || die