From a788cd721053f75f11688537b7b16fc5e496a407 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Wed, 4 Mar 2020 01:35:20 +0300 Subject: games-strategy/anomaly-mobilecampaign: update package Migrate from deprecated eclass. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov --- .../anomaly-mobilecampaign-20130613-r1.ebuild | 66 ++++++++++++++++++ .../anomaly-mobilecampaign-20130613.ebuild | 78 ---------------------- games-strategy/anomaly-mobilecampaign/metadata.xml | 2 +- 3 files changed, 67 insertions(+), 79 deletions(-) create mode 100644 games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild delete mode 100644 games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild (limited to 'games-strategy') diff --git a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild new file mode 100644 index 0000000..f31afbc --- /dev/null +++ b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils multilib-minimal unpacker + +DESCRIPTION="An extraordinary mixture of action and strategy/" +HOMEPAGE="http://www.anomalythegame.com/" +# Is it non-HiB distfile? +SRC_URI="AnomalyMobileCampaign-lin_1371139237-Installer" +RESTRICT="fetch strip" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + media-libs/openal[${MULTILIB_USEDEP}] + x11-libs/libdrm[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXau[${MULTILIB_USEDEP}] + x11-libs/libxcb[${MULTILIB_USEDEP}] + x11-libs/libXdamage[${MULTILIB_USEDEP}] + x11-libs/libXdmcp[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + virtual/opengl + app-arch/unzip +" + +S="${WORKDIR}" + +src_unpack() { + unpack_zip ${A} +} + +pkg_nofetch() { + ewarn + ewarn "Put ${A} (downloaded from Humble Store) to ${DISTDIR}, please" + ewarn +} + +src_install() { + cd "${S}/data" + local dir="/opt/${PN}" + + newicon "icon.png" "${PN}.png" + make_desktop_entry "${PN}" "Anomaly: Warzone Earth. Mobile Campaign" "${PN}" + make_wrapper "${PN}" "./AnomalyMobileCampaign" "${dir}" + dodoc README + exeinto "${dir}" + doexe "AnomalyMobileCampaign" + rm "libopenal.so.1" \ + "icon.png" \ + "README" \ + "AnomalyMobileCampaign" \ + "Copyright license Lua" \ + "Copyright license OggVorbis" \ + "Copyright license Theora" \ + "Copyright license Xpm" + insinto "${dir}" + doins -r . +} diff --git a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild deleted file mode 100644 index e0e1239..0000000 --- a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -inherit unpacker games - -DESCRIPTION="An extraordinary mixture of action and strategy in a reversed tower defense formula." -HOMEPAGE="http://www.anomalythegame.com/" -# Is it non-HiB distfile? -SRC_URI="AnomalyMobileCampaign-lin_1371139237-Installer" -RESTRICT="fetch strip" -LICENSE="as-is" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="multilib" - -DEPEND="" -RDEPEND=" - x86? ( - media-libs/openal - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libXau - x11-libs/libxcb - x11-libs/libXdamage - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXxf86vm - ) - amd64? ( - app-emulation/emul-linux-x86-xlibs - app-emulation/emul-linux-x86-opengl - app-emulation/emul-linux-x86-sdl - ) - virtual/opengl - app-arch/unzip -" - -REQUIRED_USE="amd64? ( multilib )" - -S="${WORKDIR}" - -src_unpack() { - unpack_zip "${A}" -} - -pkg_nofetch() { - ewarn - ewarn "Put ${A} (downloaded from Humble Store) to ${DISTDIR}, please" - ewarn -} - -src_install() { - cd "${S}/data" - local dir="${GAMES_PREFIX_OPT}/${PN}" - - newicon "icon.png" "${PN}.png" - make_desktop_entry "${PN}" "Anomaly: Warzone Earth. Mobile Campaign" "${PN}" - games_make_wrapper "${PN}" "./AnomalyMobileCampaign" "${dir}" - dodoc README - exeinto "${dir}" - doexe "AnomalyMobileCampaign" - rm "libopenal.so.1" \ - "icon.png" \ - "README" \ - "AnomalyMobileCampaign" \ - "Copyright license Lua" \ - "Copyright license OggVorbis" \ - "Copyright license Theora" \ - "Copyright license Xpm" - insinto "${dir}" - doins -r . - - prepgamesdirs -} diff --git a/games-strategy/anomaly-mobilecampaign/metadata.xml b/games-strategy/anomaly-mobilecampaign/metadata.xml index 70137f0..599fe17 100644 --- a/games-strategy/anomaly-mobilecampaign/metadata.xml +++ b/games-strategy/anomaly-mobilecampaign/metadata.xml @@ -1,7 +1,7 @@ - + mva@mva.name Vadim A. Misbakh-Soloviov -- cgit v1.2.3-65-gdbad