commit: 9de99dd86d9e4c4c571008e9577aa486fbeef106
Author: Azamat H. Hackimov gmail com>
AuthorDate: Sat Feb 29 00:47:32 2020 +
Commit: Azamat H. Hackimov gentoo ru>
CommitDate: Sat Feb 29 00:47:32 2020 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=9de99dd8
games-arcade/rush: update package
Migrate from deprecated eclass.
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov gmail.com>
games-arcade/rush/metadata.xml | 4
games-arcade/rush/rush-20130703.ebuild | 25 -
2 files changed, 16 insertions(+), 13 deletions(-)
diff --git a/games-arcade/rush/metadata.xml b/games-arcade/rush/metadata.xml
new file mode 100644
index 000..097975e
--- /dev/null
+++ b/games-arcade/rush/metadata.xml
@@ -0,0 +1,4 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
diff --git a/games-arcade/rush/rush-20130703.ebuild
b/games-arcade/rush/rush-20130703.ebuild
index c5cc279..7f8d1c0 100644
--- a/games-arcade/rush/rush-20130703.ebuild
+++ b/games-arcade/rush/rush-20130703.ebuild
@@ -1,24 +1,25 @@
-EAPI="5"
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
-inherit base games unpacker-nixstaller
-# multilib
+EAPI=7
+
+inherit desktop eutils unpacker-nixstaller
MY_PN="${PN^^}"
TS="1372878397"
MY_P="${MY_PN}_${PV:0:4}-${PV:4:2}-${PV:6:2}_Linux_${TS}"
-DESCRIPTION="A simple puzzler that’ll have you mesmerized with a synchronized
swarm of brightly colored blocks."
+DESCRIPTION="A simple puzzler that'll have you mesmerized with a synchronized
swarm of blocks"
HOMEPAGE="http://twotribes.com/message/rush/;
SRC_URI="${MY_P}.sh"
RESTRICT="fetch"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}
+RDEPEND="
media-libs/libsdl2
media-libs/openal
sys-libs/zlib
@@ -41,15 +42,16 @@ src_unpack() {
}
src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
- local arch=x86
+ local dir="/opt/${PN}"
+ local arch
use amd64 && arch=x86_64
+ use x86 && arch=x86
exeinto "${dir}"
insinto "${dir}"
make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
- games_make_wrapper "${PN}" "./${PN}" "${dir}"
+ make_wrapper "${PN}" "./${PN}" "${dir}"
newexe "${MY_PN}.bin.${arch}" "${PN}"
newicon "${MY_PN}.png" "${PN}.png"
@@ -68,8 +70,5 @@ src_install() {
"loc" \
"rubiks" \
"shared"
-
- prepgamesdirs
-
base_src_install_docs
}