1 |
commit: 1dd21d6de2b556b35f8e61c578b5b50ce569d251 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 29 14:06:23 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Sat Feb 29 14:06:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=1dd21d6d |
7 |
|
8 |
games-action/rochard: update package |
9 |
|
10 |
Migrate from deprecated eclass. |
11 |
|
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
14 |
|
15 |
games-action/rochard/files/Rochard.png | Bin 126321 -> 11110 bytes |
16 |
games-action/rochard/metadata.xml | 14 +++++++------- |
17 |
games-action/rochard/rochard-1.42.ebuild | 14 ++++++-------- |
18 |
3 files changed, 13 insertions(+), 15 deletions(-) |
19 |
|
20 |
diff --git a/games-action/rochard/files/Rochard.png b/games-action/rochard/files/Rochard.png |
21 |
index fc92d80..ad9371f 100644 |
22 |
Binary files a/games-action/rochard/files/Rochard.png and b/games-action/rochard/files/Rochard.png differ |
23 |
|
24 |
diff --git a/games-action/rochard/metadata.xml b/games-action/rochard/metadata.xml |
25 |
index 23da526..4a64aca 100644 |
26 |
--- a/games-action/rochard/metadata.xml |
27 |
+++ b/games-action/rochard/metadata.xml |
28 |
@@ -1,14 +1,14 @@ |
29 |
<?xml version="1.0" encoding="UTF-8"?> |
30 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
31 |
<pkgmetadata> |
32 |
-<maintainer> |
33 |
- <email>mva@×××.name</email> |
34 |
- <description> |
35 |
- If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. |
36 |
- </description> |
37 |
- <name>Vadim A. Misbakh-Soloviov</name> |
38 |
+<maintainer type="person"> |
39 |
+<email>mva@×××.name</email> |
40 |
+<description> |
41 |
+If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet. |
42 |
+</description> |
43 |
+<name>Vadim A. Misbakh-Soloviov</name> |
44 |
</maintainer> |
45 |
-<longdescription>FIXME</longdescription> |
46 |
<use> |
47 |
+<flag name="dlc">Install DLC</flag> |
48 |
</use> |
49 |
</pkgmetadata> |
50 |
|
51 |
diff --git a/games-action/rochard/rochard-1.42.ebuild b/games-action/rochard/rochard-1.42.ebuild |
52 |
index f01a975..b953571 100644 |
53 |
--- a/games-action/rochard/rochard-1.42.ebuild |
54 |
+++ b/games-action/rochard/rochard-1.42.ebuild |
55 |
@@ -1,10 +1,9 @@ |
56 |
-# Copyright 1999-2012 Gentoo Foundation |
57 |
+# Copyright 1999-2020 Gentoo Authors |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: $ |
60 |
|
61 |
-EAPI="5" |
62 |
+EAPI=7 |
63 |
|
64 |
-inherit games multilib |
65 |
+inherit desktop eutils |
66 |
|
67 |
TIMESTAMP="1371746492" |
68 |
|
69 |
@@ -18,7 +17,7 @@ AMD64_URI="${MY_PN}_v${PV}_Linux_x64_${TIMESTAMP}.tar.gz" |
70 |
HT_X86_URI="${MY_PN}_Hard_Times_v${PV}_Linux_x86_${TIMESTAMP}.tar.gz" |
71 |
HT_AMD64_URI="${MY_PN}_Hard_Times_v${PV}_Linux_x64_${TIMESTAMP}.tar.gz" |
72 |
|
73 |
-DESCRIPTION="A side-scrolling platformer packed with action, gravity-bending puzzles, space bandits and absurdly powerful astro-mining tools." |
74 |
+DESCRIPTION="A side-scrolling platformer packed with action, gravity-bending puzzles." |
75 |
HOMEPAGE="http://rochardthegame.com/" |
76 |
|
77 |
SLOT="0" |
78 |
@@ -54,7 +53,7 @@ DEPEND="${RDEPEND}" |
79 |
S="${WORKDIR}" |
80 |
|
81 |
src_install() { |
82 |
- local dir="${GAMES_PREFIX_OPT}/${PN}"; |
83 |
+ local dir="/opt/${PN}"; |
84 |
local bit; |
85 |
|
86 |
use x86 && bit=86; |
87 |
@@ -68,10 +67,9 @@ src_install() { |
88 |
exeinto "${dir}" |
89 |
doexe "${MY_PN}" |
90 |
|
91 |
- games_make_wrapper "${PN}" "./${MY_PN}" "${dir}" "${dir}" |
92 |
+ make_wrapper "${PN}" "./${MY_PN}" "${dir}" "${dir}" |
93 |
newicon "${FILESDIR}/${MY_PN}.png" "${PN}.png" || die |
94 |
make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}" |
95 |
|
96 |
dodoc README.txt changelog.txt |
97 |
- prepgamesdirs |
98 |
} |