Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/supermeatboy/
Date: Sat, 29 Feb 2020 01:15:39
Message-Id: 1582925843.e1d897375270d1e81eca41fe7d1ea4be08772fa0.winterheart@gentoo
1 commit: e1d897375270d1e81eca41fe7d1ea4be08772fa0
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 28 21:32:55 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Fri Feb 28 21:37:23 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e1d89737
7
8 games-arcade/supermeatboy: update to EAPI 7
9
10 Remove deprecated eclass, install into /opt/${PN}
11
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 ...3.11.11.ebuild => supermeatboy-2013.11.11-r1.ebuild} | 17 ++++++++---------
16 1 file changed, 8 insertions(+), 9 deletions(-)
17
18 diff --git a/games-arcade/supermeatboy/supermeatboy-2013.11.11.ebuild b/games-arcade/supermeatboy/supermeatboy-2013.11.11-r1.ebuild
19 similarity index 79%
20 rename from games-arcade/supermeatboy/supermeatboy-2013.11.11.ebuild
21 rename to games-arcade/supermeatboy/supermeatboy-2013.11.11-r1.ebuild
22 index 2614020..bb5fa90 100644
23 --- a/games-arcade/supermeatboy/supermeatboy-2013.11.11.ebuild
24 +++ b/games-arcade/supermeatboy/supermeatboy-2013.11.11-r1.ebuild
25 @@ -1,16 +1,15 @@
26 # Copyright 1999-2020 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=6
30 +EAPI=7
31
32 -inherit desktop eutils versionator
33 +inherit desktop eutils
34
35 MY_PN=SuperMeatBoy
36 -MY_PV=$(version_format_string '${2}${3}${1}')
37
38 DESCRIPTION="A platformer where you play as an animated cube of meat"
39 HOMEPAGE="http://www.supermeatboy.com/"
40 -SRC_URI="${PN}-linux-${MY_PV}-bin"
41 +SRC_URI="${PN}-linux-$(ver_cut 2)$(ver_cut 3)$(ver_cut 1)-bin"
42
43 LICENSE="all-rights-reserved"
44 SLOT="0"
45 @@ -26,7 +25,6 @@ RDEPEND="
46 "
47
48 S="${WORKDIR}/data"
49 -GAMEDIR="/usr/share/${P}"
50
51 pkg_nofetch() {
52 einfo "Please download ${A}"
53 @@ -45,19 +43,20 @@ src_unpack() {
54 }
55
56 src_install() {
57 - insinto "${GAMEDIR}"
58 + local dest="/opt/${PN}"
59 + insinto ${dest}
60 doins -r resources Levels buttonmap.cfg \
61 gameaudio.dat gamedata.dat locdb.txt \
62 steam_appid.txt
63
64 - insinto "${GAMEDIR}/${ARCH}"
65 + insinto "${dest}/${ARCH}"
66 doins "${ARCH}"/libsteam_api.so
67 doins "${ARCH}"/libmariadb.so.1
68
69 - exeinto "${GAMEDIR}/${ARCH}"
70 + exeinto "${dest}/${ARCH}"
71 doexe "${ARCH}/${MY_PN}"
72
73 - make_wrapper "${PN}" "./${ARCH}/${MY_PN}" "${GAMEDIR}" "./${ARCH}"
74 + make_wrapper "${PN}" "./${ARCH}/${MY_PN}" "${dest}" "./${ARCH}"
75
76 doicon "${PN}".png
77 make_desktop_entry "${PN}" "${MY_PN}" "${PN}"