commit: e1d897375270d1e81eca41fe7d1ea4be08772fa0 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Fri Feb 28 21:32:55 2020 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Fri Feb 28 21:37:23 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e1d89737
games-arcade/supermeatboy: update to EAPI 7 Remove deprecated eclass, install into /opt/${PN} Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> ...3.11.11.ebuild => supermeatboy-2013.11.11-r1.ebuild} | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/games-arcade/supermeatboy/supermeatboy-2013.11.11.ebuild b/games-arcade/supermeatboy/supermeatboy-2013.11.11-r1.ebuild similarity index 79% rename from games-arcade/supermeatboy/supermeatboy-2013.11.11.ebuild rename to games-arcade/supermeatboy/supermeatboy-2013.11.11-r1.ebuild index 2614020..bb5fa90 100644 --- a/games-arcade/supermeatboy/supermeatboy-2013.11.11.ebuild +++ b/games-arcade/supermeatboy/supermeatboy-2013.11.11-r1.ebuild @@ -1,16 +1,15 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit desktop eutils versionator +inherit desktop eutils MY_PN=SuperMeatBoy -MY_PV=$(version_format_string '${2}${3}${1}') DESCRIPTION="A platformer where you play as an animated cube of meat" HOMEPAGE="http://www.supermeatboy.com/" -SRC_URI="${PN}-linux-${MY_PV}-bin" +SRC_URI="${PN}-linux-$(ver_cut 2)$(ver_cut 3)$(ver_cut 1)-bin" LICENSE="all-rights-reserved" SLOT="0" @@ -26,7 +25,6 @@ RDEPEND=" " S="${WORKDIR}/data" -GAMEDIR="/usr/share/${P}" pkg_nofetch() { einfo "Please download ${A}" @@ -45,19 +43,20 @@ src_unpack() { } src_install() { - insinto "${GAMEDIR}" + local dest="/opt/${PN}" + insinto ${dest} doins -r resources Levels buttonmap.cfg \ gameaudio.dat gamedata.dat locdb.txt \ steam_appid.txt - insinto "${GAMEDIR}/${ARCH}" + insinto "${dest}/${ARCH}" doins "${ARCH}"/libsteam_api.so doins "${ARCH}"/libmariadb.so.1 - exeinto "${GAMEDIR}/${ARCH}" + exeinto "${dest}/${ARCH}" doexe "${ARCH}/${MY_PN}" - make_wrapper "${PN}" "./${ARCH}/${MY_PN}" "${GAMEDIR}" "./${ARCH}" + make_wrapper "${PN}" "./${ARCH}/${MY_PN}" "${dest}" "./${ARCH}" doicon "${PN}".png make_desktop_entry "${PN}" "${MY_PN}" "${PN}"