[gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/
commit: 02ec8e1bc5786388d442deb7136ec8ddc4d785e8 Author: Vadim Misbakh-Soloviov gentoo org> AuthorDate: Mon Jan 15 03:47:47 2024 + Commit: Vadim Misbakh-Soloviov gentoo org> CommitDate: Mon Jan 15 03:47:47 2024 + URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=02ec8e1b games-arcade/metalslug3: Magrated to EAPI8 Signed-off-by: Vadim Misbakh-Soloviov gentoo.org> games-arcade/metalslug3/metadata.xml | 3 --- games-arcade/metalslug3/metalslug3-2014.06.09.ebuild | 11 +-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/games-arcade/metalslug3/metadata.xml b/games-arcade/metalslug3/metadata.xml index ab5b6a0..097975e 100644 --- a/games-arcade/metalslug3/metadata.xml +++ b/games-arcade/metalslug3/metadata.xml @@ -1,7 +1,4 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -Famous 2D shooting game - diff --git a/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild index 3008584..e13f448 100644 --- a/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild +++ b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit eutils unpacker +inherit desktop wrapper unpacker DESCRIPTION="Famous 2D shooting game" HOMEPAGE="http://www.snkplaymore.co.jp/us/games/steam/metalslug3/; @@ -13,8 +13,7 @@ RESTRICT="fetch strip" LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" +KEYWORDS="~amd64 ~x86" DEPEND="app-arch/unzip" RDEPEND=" @@ -29,7 +28,7 @@ pkg_nofetch() { einfo "" einfo "Please buy and download \"${SRC_URI}\" from" einfo "HumbleIndieBundle or ${HOMEPAGE}" - einfo "and move/link it to \"${DISTDIR}\"" + einfo "and move/link it to \"${PORTAGE_ACTUAL_DISTDIR}\"" einfo "" }
[gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/
commit: d86d81aa8571e93304800169139c30f9122ec3d3 Author: Azamat H. Hackimov gmail com> AuthorDate: Fri Feb 28 21:29:15 2020 + Commit: Azamat H. Hackimov gentoo ru> CommitDate: Fri Feb 28 21:29:15 2020 + URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=d86d81aa games-arcade/metalslug3: update to EAPI7 Migrate from deprecated eclass, fixes to build. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov gmail.com> games-arcade/metalslug3/metadata.xml | 7 + ...0140609.ebuild => metalslug3-2014.06.09.ebuild} | 34 +++--- 2 files changed, 17 insertions(+), 24 deletions(-) diff --git a/games-arcade/metalslug3/metadata.xml b/games-arcade/metalslug3/metadata.xml new file mode 100644 index 000..ab5b6a0 --- /dev/null +++ b/games-arcade/metalslug3/metadata.xml @@ -0,0 +1,7 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +Famous 2D shooting game + + diff --git a/games-arcade/metalslug3/metalslug3-20140609.ebuild b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild similarity index 67% rename from games-arcade/metalslug3/metalslug3-20140609.ebuild rename to games-arcade/metalslug3/metalslug3-2014.06.09.ebuild index 686fe52..3008584 100644 --- a/games-arcade/metalslug3/metalslug3-20140609.ebuild +++ b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild @@ -1,27 +1,22 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI="5" +EAPI=7 -inherit eutils games unpacker - -TS="2014-06-09" +inherit eutils unpacker DESCRIPTION="Famous 2D shooting game" HOMEPAGE="http://www.snkplaymore.co.jp/us/games/steam/metalslug3/; -SRC_URI="MetalSlug3-Linux-${TS}.sh" +SRC_URI="MetalSlug3-Linux-$(ver_rs 1-2 -).sh" RESTRICT="fetch strip" -LICENSE="as-is" +LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="-* ~amd64 ~x86" IUSE="" -DEPEND=" - app-arch/unzip -" +DEPEND="app-arch/unzip" RDEPEND=" media-libs/libsdl2 media-libs/sdl2-mixer @@ -30,8 +25,6 @@ RDEPEND=" S="${WORKDIR}/data" -GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" - pkg_nofetch() { einfo "" einfo "Please buy and download \"${SRC_URI}\" from" @@ -40,10 +33,6 @@ pkg_nofetch() { einfo "" } -#src_unpack() { -# unpack_zip "${A}"; -#} - src_install() { local arch; @@ -55,16 +44,13 @@ src_install() { rm noarch/README.linux noarch/LICENSES.txt noarch/ARPHICPL.TXT # Install data - insinto "${GAMEDIR}" + insinto "/opt/${PN}" doins -r noarch/* - exeinto "${GAMEDIR}" + exeinto "/opt/${PN}" doexe "${arch}/MetalSlug3.bin.${arch}" # Install icon and desktop file newicon "noarch/icon.png" "${PN}.png" make_desktop_entry "${PN}" "Metal Slug 3" "${PN}" - games_make_wrapper "${PN}" "./MetalSlug3.bin.${arch}" "${GAMEDIR}" - - # Setting permissions. - prepgamesdirs + make_wrapper "${PN}" "./MetalSlug3.bin.${arch}" "/opt/${PN}" }
[gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/
commit: bfb11f1211281c50f9914c0e4052bd6fcdeba5bc Author: Vadim A. Misbakh-Soloviov mva AT mva DOT name AuthorDate: Sun Jun 22 21:49:59 2014 + Commit: Vadim A. Misbakh-Soloviov mva AT mva DOT name CommitDate: Sun Jun 22 21:49:59 2014 + URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=bfb11f12 [games-arcade/metalslug3] deps fixed Signed-off-by: Vadim A. Misbakh-Soloviov mva AT mva.name --- games-arcade/metalslug3/metalslug3-20140609.ebuild | 70 ++ 1 file changed, 70 insertions(+) diff --git a/games-arcade/metalslug3/metalslug3-20140609.ebuild b/games-arcade/metalslug3/metalslug3-20140609.ebuild new file mode 100644 index 000..686fe52 --- /dev/null +++ b/games-arcade/metalslug3/metalslug3-20140609.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils games unpacker + +TS=2014-06-09 + +DESCRIPTION=Famous 2D shooting game +HOMEPAGE=http://www.snkplaymore.co.jp/us/games/steam/metalslug3/; +SRC_URI=MetalSlug3-Linux-${TS}.sh + +RESTRICT=fetch strip +LICENSE=as-is + +SLOT=0 +KEYWORDS=amd64 x86 +IUSE= + +DEPEND= + app-arch/unzip + +RDEPEND= + media-libs/libsdl2 + media-libs/sdl2-mixer + sys-libs/zlib + + +S=${WORKDIR}/data + +GAMEDIR=${GAMES_PREFIX_OPT}/${PN} + +pkg_nofetch() { + einfo + einfo Please buy and download \${SRC_URI}\ from + einfo HumbleIndieBundle or ${HOMEPAGE} + einfo and move/link it to \${DISTDIR}\ + einfo +} + +#src_unpack() { +# unpack_zip ${A}; +#} + +src_install() { + local arch; + + use amd64 arch=x86_64; + use x86 arch=x86; + + # Install documentation + dodoc noarch/README.linux noarch/LICENSES.txt noarch/ARPHICPL.TXT + rm noarch/README.linux noarch/LICENSES.txt noarch/ARPHICPL.TXT + + # Install data + insinto ${GAMEDIR} + doins -r noarch/* + exeinto ${GAMEDIR} + doexe ${arch}/MetalSlug3.bin.${arch} + + # Install icon and desktop file + newicon noarch/icon.png ${PN}.png + make_desktop_entry ${PN} Metal Slug 3 ${PN} + games_make_wrapper ${PN} ./MetalSlug3.bin.${arch} ${GAMEDIR} + + # Setting permissions. + prepgamesdirs +}