commit:     1dd21d6de2b556b35f8e61c578b5b50ce569d251
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 14:06:23 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 14:06:23 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=1dd21d6d

games-action/rochard: update package

Migrate from deprecated eclass.

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

 games-action/rochard/files/Rochard.png   | Bin 126321 -> 11110 bytes
 games-action/rochard/metadata.xml        |  14 +++++++-------
 games-action/rochard/rochard-1.42.ebuild |  14 ++++++--------
 3 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/games-action/rochard/files/Rochard.png 
b/games-action/rochard/files/Rochard.png
index fc92d80..ad9371f 100644
Binary files a/games-action/rochard/files/Rochard.png and 
b/games-action/rochard/files/Rochard.png differ

diff --git a/games-action/rochard/metadata.xml 
b/games-action/rochard/metadata.xml
index 23da526..4a64aca 100644
--- a/games-action/rochard/metadata.xml
+++ b/games-action/rochard/metadata.xml
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer>
- <email>[email protected]</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>[email protected]</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>
+<flag name="dlc">Install DLC</flag>
 </use>
 </pkgmetadata>

diff --git a/games-action/rochard/rochard-1.42.ebuild 
b/games-action/rochard/rochard-1.42.ebuild
index f01a975..b953571 100644
--- a/games-action/rochard/rochard-1.42.ebuild
+++ b/games-action/rochard/rochard-1.42.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 multilib
+inherit desktop eutils
 
 TIMESTAMP="1371746492"
 
@@ -18,7 +17,7 @@ AMD64_URI="${MY_PN}_v${PV}_Linux_x64_${TIMESTAMP}.tar.gz"
 HT_X86_URI="${MY_PN}_Hard_Times_v${PV}_Linux_x86_${TIMESTAMP}.tar.gz"
 HT_AMD64_URI="${MY_PN}_Hard_Times_v${PV}_Linux_x64_${TIMESTAMP}.tar.gz"
 
-DESCRIPTION="A side-scrolling platformer packed with action, gravity-bending 
puzzles, space bandits and absurdly powerful astro-mining tools."
+DESCRIPTION="A side-scrolling platformer packed with action, gravity-bending 
puzzles."
 HOMEPAGE="http://rochardthegame.com/";
 
 SLOT="0"
@@ -54,7 +53,7 @@ DEPEND="${RDEPEND}"
 S="${WORKDIR}"
 
 src_install() {
-       local dir="${GAMES_PREFIX_OPT}/${PN}";
+       local dir="/opt/${PN}";
        local bit;
 
        use x86 && bit=86;
@@ -68,10 +67,9 @@ src_install() {
        exeinto "${dir}"
        doexe "${MY_PN}"
 
-       games_make_wrapper "${PN}" "./${MY_PN}" "${dir}" "${dir}"
+       make_wrapper "${PN}" "./${MY_PN}" "${dir}" "${dir}"
        newicon "${FILESDIR}/${MY_PN}.png" "${PN}.png" || die
        make_desktop_entry "${PN}" "${MY_PN}" "${MY_PN}"
 
        dodoc README.txt changelog.txt
-       prepgamesdirs
 }

Reply via email to