diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-03-04 01:35:20 +0300 |
---|---|---|
committer | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-03-04 01:35:20 +0300 |
commit | a788cd721053f75f11688537b7b16fc5e496a407 (patch) | |
tree | 16fb6a72a91681dc679ec4849d11806400b4b3c2 /games-strategy | |
parent | games-strategy/anomaly-korea: update package (diff) | |
download | gamerlay-a788cd721053f75f11688537b7b16fc5e496a407.tar.gz gamerlay-a788cd721053f75f11688537b7b16fc5e496a407.tar.bz2 gamerlay-a788cd721053f75f11688537b7b16fc5e496a407.zip |
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 <azamat.hackimov@gmail.com>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild (renamed from games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild) | 50 | ||||
-rw-r--r-- | games-strategy/anomaly-mobilecampaign/metadata.xml | 2 |
2 files changed, 20 insertions, 32 deletions
diff --git a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild index e0e1239..f31afbc 100644 --- a/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613.ebuild +++ b/games-strategy/anomaly-mobilecampaign/anomaly-mobilecampaign-20130613-r1.ebuild @@ -1,50 +1,40 @@ -# 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 unpacker games +inherit desktop eutils multilib-minimal unpacker -DESCRIPTION="An extraordinary mixture of action and strategy in a reversed tower defense formula." +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="as-is" +LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="multilib" +IUSE="" 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 - ) + 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 " -REQUIRED_USE="amd64? ( multilib )" - S="${WORKDIR}" src_unpack() { - unpack_zip "${A}" + unpack_zip ${A} } pkg_nofetch() { @@ -55,11 +45,11 @@ pkg_nofetch() { src_install() { cd "${S}/data" - local dir="${GAMES_PREFIX_OPT}/${PN}" + local dir="/opt/${PN}" newicon "icon.png" "${PN}.png" make_desktop_entry "${PN}" "Anomaly: Warzone Earth. Mobile Campaign" "${PN}" - games_make_wrapper "${PN}" "./AnomalyMobileCampaign" "${dir}" + make_wrapper "${PN}" "./AnomalyMobileCampaign" "${dir}" dodoc README exeinto "${dir}" doexe "AnomalyMobileCampaign" @@ -73,6 +63,4 @@ src_install() { "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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer> +<maintainer type="person"> <email>mva@mva.name</email> <name>Vadim A. Misbakh-Soloviov</name> </maintainer> |