From f4420c6db4455043e67b0e29f7922da3efd07656 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 3 May 2021 11:00:12 +0200 Subject: games-action/brutal-legend: EAPI7, eclass improvements Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger Signed-off-by: Ionen Wolkens --- .../brutal-legend/brutal-legend-20130615-r2.ebuild | 27 ++++++---------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'games-action') diff --git a/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild b/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild index 1f80df831e04..9564d99fc905 100644 --- a/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild +++ b/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # TODO: unbundle libsdl-2 -EAPI=6 +EAPI=7 -inherit eutils unpacker gnome2-utils +inherit desktop unpacker wrapper xdg TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2} DESCRIPTION="Unleash the power of Heavy Metal to reign down fire from the sky" @@ -14,8 +14,7 @@ SRC_URI="BrutalLegend-Linux-${TIMESTAMP}-setup.bin" LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" +KEYWORDS="-* ~amd64 ~x86" RESTRICT="bindist fetch splitdebug" MYGAMEDIR="/opt/${PN}" @@ -44,9 +43,9 @@ RDEPEND=" x11-libs/libxcb )" -DEPEND="app-arch/unzip" +BDEPEND="app-arch/unzip" -S=${WORKDIR}/data +S="${WORKDIR}"/data pkg_nofetch() { einfo "Please buy & download ${SRC_URI} from:" @@ -65,19 +64,7 @@ src_install() { dodir "${MYGAMEDIR}" # this is over 9000!!!! ...eh, 8GB data - mv * "${D%/}/${MYGAMEDIR}" || die + mv * "${D}/${MYGAMEDIR}" || die fperms +x "${MYGAMEDIR}/Buddha.bin.x86" } - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} -- cgit v1.2.3-65-gdbad