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-action/fieldrunners/
Date: Thu, 05 Mar 2020 21:19:03
Message-Id: 1583435551.8142eeb4ce67c79e6f3eb3b73303ca6c3cf192ff.winterheart@gentoo
1 commit: 8142eeb4ce67c79e6f3eb3b73303ca6c3cf192ff
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 5 19:12:31 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Thu Mar 5 19:12:31 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8142eeb4
7
8 games-action/fieldrunners: update package
9
10 Migrate from deprecated eclass.
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 ...s-1.0.0.ebuild => fieldrunners-1.0.0-r1.ebuild} | 23 ++++++++++------------
16 games-action/fieldrunners/metadata.xml | 13 ++++++------
17 2 files changed, 16 insertions(+), 20 deletions(-)
18
19 diff --git a/games-action/fieldrunners/fieldrunners-1.0.0.ebuild b/games-action/fieldrunners/fieldrunners-1.0.0-r1.ebuild
20 similarity index 77%
21 rename from games-action/fieldrunners/fieldrunners-1.0.0.ebuild
22 rename to games-action/fieldrunners/fieldrunners-1.0.0-r1.ebuild
23 index 97f823e..e736de4 100644
24 --- a/games-action/fieldrunners/fieldrunners-1.0.0.ebuild
25 +++ b/games-action/fieldrunners/fieldrunners-1.0.0-r1.ebuild
26 @@ -1,10 +1,9 @@
27 -# Copyright 1999-2012 Gentoo Foundation
28 +# Copyright 1999-2020 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: $
31
32 -EAPI="5"
33 +EAPI=7
34
35 -inherit games
36 +inherit desktop eutils
37
38 TIMESTAMP_x86="1346296515"
39 TIMESTAMP_amd64="1346776333"
40 @@ -13,13 +12,13 @@ DESCRIPTION="Defend and control the field using a diverse selection of upgradeab
41 HOMEPAGE="http://subatomicstudios.com/games/fieldrunners/"
42
43 SLOT="0"
44 -LICENSE="as-is"
45 +LICENSE="all-rights-reserved"
46 KEYWORDS="-* ~amd64 ~x86"
47 RESTRICT="fetch strip"
48 IUSE=""
49
50 SRC_URI="
51 - x86? ( ${PN}-${PV}-32bit-${TIMESTAMP_x86}.tar.gz )
52 + x86? ( ${P}-32bit-${TIMESTAMP_x86}.tar.gz )
53 amd64? ( ${PN}-linux-${PV}-64bit-${TIMESTAMP_amd64}.tar.gz )
54 "
55
56 @@ -52,13 +51,13 @@ MY_PN="${PN/f/F}"
57 DOCS=( README )
58
59 pkg_nofetch() {
60 - ewarn
61 - ewarn "Place ${A} to ${DISTDIR}"
62 - ewarn
63 + ewarn
64 + ewarn "Place ${A} to ${DISTDIR}"
65 + ewarn
66 }
67
68 src_install() {
69 - local dir="${GAMES_PREFIX_OPT}/${PN}"
70 + local dir="/opt/${PN}"
71 local arch;
72 use amd64 && arch="x86_64" || arch="x86"
73
74 @@ -68,9 +67,7 @@ src_install() {
75 exeinto "${dir}"
76 doexe "${PN}/${MY_PN}"
77
78 - games_make_wrapper "${PN}" "./${MY_PN}" "${dir}"
79 + make_wrapper "${PN}" "./${MY_PN}" "${dir}"
80 doicon "${FILESDIR}/${PN}.png" || die
81 make_desktop_entry "${PN}" "${MY_PN}"
82 -
83 - prepgamesdirs
84 }
85
86 diff --git a/games-action/fieldrunners/metadata.xml b/games-action/fieldrunners/metadata.xml
87 index 23da526..5346d81 100644
88 --- a/games-action/fieldrunners/metadata.xml
89 +++ b/games-action/fieldrunners/metadata.xml
90 @@ -1,14 +1,13 @@
91 <?xml version="1.0" encoding="UTF-8"?>
92 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
93 <pkgmetadata>
94 -<maintainer>
95 - <email>mva@×××.name</email>
96 - <description>
97 - If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
98 - </description>
99 - <name>Vadim A. Misbakh-Soloviov</name>
100 +<maintainer type="person">
101 +<email>mva@×××.name</email>
102 +<description>
103 +If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
104 +</description>
105 +<name>Vadim A. Misbakh-Soloviov</name>
106 </maintainer>
107 -<longdescription>FIXME</longdescription>
108 <use>
109 </use>
110 </pkgmetadata>