commit:     651d45506f3e1abb601ef1cce28376e4dae3f9bd
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jun  9 17:04:38 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 15 20:00:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=651d4550

games-arcade/mrrescue: EAPI bump, update eclass usage

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-arcade/mrrescue/mrrescue-1.02b-r2.ebuild | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

diff --git a/games-arcade/mrrescue/mrrescue-1.02b-r2.ebuild 
b/games-arcade/mrrescue/mrrescue-1.02b-r2.ebuild
index b770ad759c8..a34d56ef321 100644
--- a/games-arcade/mrrescue/mrrescue-1.02b-r2.ebuild
+++ b/games-arcade/mrrescue/mrrescue-1.02b-r2.ebuild
@@ -1,25 +1,23 @@
-# 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="Arcade 2d action game based around evacuating civilians from 
burning buildings"
 HOMEPAGE="https://tangramgames.dk/games/mrrescue/";
 
SRC_URI="https://github.com/SimonLarsen/mrrescue/releases/download/v${PV}/${P}-love.zip
-       https://dev.gentoo.org/~hasufell/distfiles/${PN}.png";
+       mirror://gentoo/${PN}.png"
+S="${WORKDIR}/${P}-love"
 
 LICENSE="CC-BY-SA-3.0 MIT ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 LVSLOT="0.8"
 RDEPEND="games-engines/love:${LVSLOT}"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/${P}-love"
+BDEPEND="app-arch/unzip"
 
 src_install() {
        local dir=/usr/share/love/${PN}
@@ -33,15 +31,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