summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-05-03 11:17:38 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-06-08 00:18:57 -0400
commitf492218d441845987e519408c86e21be596636cc (patch)
tree813d81cb44de6b1aaec547f756846a201993da5a /games-action
parentgames-action/trosh: remove old (diff)
downloadgentoo-f492218d441845987e519408c86e21be596636cc.tar.gz
gentoo-f492218d441845987e519408c86e21be596636cc.tar.bz2
gentoo-f492218d441845987e519408c86e21be596636cc.zip
games-action/trosh: EAPI7, eclass improvements
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/20664 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/trosh/trosh-20-r2.ebuild20
1 files changed, 4 insertions, 16 deletions
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
-}