commit: f4420c6db4455043e67b0e29f7922da3efd07656
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon May 3 09:00:12 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 8 04:18:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4420c6d
games-action/brutal-legend: EAPI7, eclass improvements
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../brutal-legend/brutal-legend-20130615-r2.ebuild | 27 ++++++----------------
1 file changed, 7 insertions(+), 20 deletions(-)
diff --git a/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild
b/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild
index 1f80df831e0..9564d99fc90 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
-}