summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 17:06:23 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 17:06:23 +0300
commit1dd21d6de2b556b35f8e61c578b5b50ce569d251 (patch)
treeeb57af556ad855fa1fbb316b52ed14ca31f814c9
parentgames-action/shadowgrounds-survivor-bin: update (diff)
downloadgamerlay-1dd21d6de2b556b35f8e61c578b5b50ce569d251.tar.gz
gamerlay-1dd21d6de2b556b35f8e61c578b5b50ce569d251.tar.bz2
gamerlay-1dd21d6de2b556b35f8e61c578b5b50ce569d251.zip
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@gmail.com>
-rw-r--r--games-action/rochard/files/Rochard.pngbin126321 -> 11110 bytes
-rw-r--r--games-action/rochard/metadata.xml14
-rw-r--r--games-action/rochard/rochard-1.42.ebuild14
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
--- a/games-action/rochard/files/Rochard.png
+++ b/games-action/rochard/files/Rochard.png
Binary files 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>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>
+<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
}