commit:     f492218d441845987e519408c86e21be596636cc
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon May  3 09:17:38 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun  8 04:18:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f492218d

games-action/trosh: EAPI7, eclass improvements

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20664
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-action/trosh/trosh-20-r2.ebuild | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/games-action/trosh/trosh-20-r2.ebuild 
b/games-action/trosh/trosh-20-r2.ebuild
index 328de728452..a610e273eda 100644
--- a/games-action/trosh/trosh-20-r2.ebuild
+++ b/games-action/trosh/trosh-20-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit desktop eutils gnome2-utils
+inherit desktop wrapper xdg
 
 DESCRIPTION="A game made in 20 hours for a friend. It has explosions"
 HOMEPAGE="https://stabyourself.net/trosh/";
@@ -18,7 +18,7 @@ LVSLOT="0.8"
 RDEPEND="
        games-engines/love:${LVSLOT}
        media-libs/devil[png]"
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
 
@@ -34,15 +34,3 @@ src_install() {
        make_wrapper ${PN} "love-${LVSLOT} ${PN}.love" "${dir}"
        make_desktop_entry ${PN}
 }
-
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
-pkg_postinst() {
-       gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-}

Reply via email to