public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-action/fieldrunners/
@ 2020-03-05 21:18 Azamat H. Hackimov
  0 siblings, 0 replies; only message in thread
From: Azamat H. Hackimov @ 2020-03-05 21:18 UTC (permalink / raw
  To: gentoo-commits

commit:     8142eeb4ce67c79e6f3eb3b73303ca6c3cf192ff
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Mar  5 19:12:31 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Mar  5 19:12:31 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8142eeb4

games-action/fieldrunners: update package

Migrate from deprecated eclass.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 ...s-1.0.0.ebuild => fieldrunners-1.0.0-r1.ebuild} | 23 ++++++++++------------
 games-action/fieldrunners/metadata.xml             | 13 ++++++------
 2 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/games-action/fieldrunners/fieldrunners-1.0.0.ebuild b/games-action/fieldrunners/fieldrunners-1.0.0-r1.ebuild
similarity index 77%
rename from games-action/fieldrunners/fieldrunners-1.0.0.ebuild
rename to games-action/fieldrunners/fieldrunners-1.0.0-r1.ebuild
index 97f823e..e736de4 100644
--- a/games-action/fieldrunners/fieldrunners-1.0.0.ebuild
+++ b/games-action/fieldrunners/fieldrunners-1.0.0-r1.ebuild
@@ -1,10 +1,9 @@
-# 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 games
+inherit desktop eutils
 
 TIMESTAMP_x86="1346296515"
 TIMESTAMP_amd64="1346776333"
@@ -13,13 +12,13 @@ DESCRIPTION="Defend and control the field using a diverse selection of upgradeab
 HOMEPAGE="http://subatomicstudios.com/games/fieldrunners/"
 
 SLOT="0"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="fetch strip"
 IUSE=""
 
 SRC_URI="
-	x86? ( ${PN}-${PV}-32bit-${TIMESTAMP_x86}.tar.gz )
+	x86? ( ${P}-32bit-${TIMESTAMP_x86}.tar.gz )
 	amd64? ( ${PN}-linux-${PV}-64bit-${TIMESTAMP_amd64}.tar.gz )
 "
 
@@ -52,13 +51,13 @@ MY_PN="${PN/f/F}"
 DOCS=( README )
 
 pkg_nofetch() {
-        ewarn
-        ewarn "Place ${A} to ${DISTDIR}"
-        ewarn
+	ewarn
+	ewarn "Place ${A} to ${DISTDIR}"
+	ewarn
 }
 
 src_install() {
-	local dir="${GAMES_PREFIX_OPT}/${PN}"
+	local dir="/opt/${PN}"
 	local arch;
 	use amd64 && arch="x86_64" || arch="x86"
 
@@ -68,9 +67,7 @@ src_install() {
 	exeinto "${dir}"
 	doexe "${PN}/${MY_PN}"
 
-	games_make_wrapper "${PN}" "./${MY_PN}" "${dir}"
+	make_wrapper "${PN}" "./${MY_PN}" "${dir}"
 	doicon "${FILESDIR}/${PN}.png" || die
 	make_desktop_entry "${PN}" "${MY_PN}"
-
-	prepgamesdirs
 }

diff --git a/games-action/fieldrunners/metadata.xml b/games-action/fieldrunners/metadata.xml
index 23da526..5346d81 100644
--- a/games-action/fieldrunners/metadata.xml
+++ b/games-action/fieldrunners/metadata.xml
@@ -1,14 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
- <email>mva@mva.name</email>
- <description>
-	If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
- </description> 
- <name>Vadim A. Misbakh-Soloviov</name>
+<maintainer type="person">
+<email>mva@mva.name</email>
+<description>
+If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
+</description>
+<name>Vadim A. Misbakh-Soloviov</name>
 </maintainer>
-<longdescription>FIXME</longdescription> 
 <use>
 </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-05 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-05 21:18 [gentoo-commits] proj/gamerlay:master commit in: games-action/fieldrunners/ Azamat H. Hackimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox