From f492218d441845987e519408c86e21be596636cc Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 3 May 2021 11:17:38 +0200 Subject: games-action/trosh: EAPI7, eclass improvements Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/20664 Signed-off-by: Ionen Wolkens --- games-action/trosh/trosh-20-r2.ebuild | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'games-action/trosh') diff --git a/games-action/trosh/trosh-20-r2.ebuild b/games-action/trosh/trosh-20-r2.ebuild index 328de7284521..a610e273eda3 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 -} -- cgit v1.2.3-65-gdbad