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-arcade/rush/
Date: Sat, 29 Feb 2020 01:15:45
Message-Id: 1582937252.9de99dd86d9e4c4c571008e9577aa486fbeef106.winterheart@gentoo
1 commit: 9de99dd86d9e4c4c571008e9577aa486fbeef106
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 00:47:32 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Feb 29 00:47:32 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=9de99dd8
7
8 games-arcade/rush: 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-arcade/rush/metadata.xml | 4 ++++
16 games-arcade/rush/rush-20130703.ebuild | 25 ++++++++++++-------------
17 2 files changed, 16 insertions(+), 13 deletions(-)
18
19 diff --git a/games-arcade/rush/metadata.xml b/games-arcade/rush/metadata.xml
20 new file mode 100644
21 index 0000000..097975e
22 --- /dev/null
23 +++ b/games-arcade/rush/metadata.xml
24 @@ -0,0 +1,4 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 +</pkgmetadata>
29
30 diff --git a/games-arcade/rush/rush-20130703.ebuild b/games-arcade/rush/rush-20130703.ebuild
31 index c5cc279..7f8d1c0 100644
32 --- a/games-arcade/rush/rush-20130703.ebuild
33 +++ b/games-arcade/rush/rush-20130703.ebuild
34 @@ -1,24 +1,25 @@
35 -EAPI="5"
36 +# Copyright 1999-2020 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38
39 -inherit base games unpacker-nixstaller
40 -# multilib
41 +EAPI=7
42 +
43 +inherit desktop eutils unpacker-nixstaller
44
45 MY_PN="${PN^^}"
46 TS="1372878397"
47 MY_P="${MY_PN}_${PV:0:4}-${PV:4:2}-${PV:6:2}_Linux_${TS}"
48
49 -DESCRIPTION="A simple puzzler that’ll have you mesmerized with a synchronized swarm of brightly colored blocks."
50 +DESCRIPTION="A simple puzzler that'll have you mesmerized with a synchronized swarm of blocks"
51 HOMEPAGE="http://twotribes.com/message/rush/"
52 SRC_URI="${MY_P}.sh"
53 RESTRICT="fetch"
54
55 -LICENSE="as-is"
56 +LICENSE="all-rights-reserved"
57 SLOT="0"
58 KEYWORDS="-* ~amd64 ~x86"
59 IUSE=""
60
61 -DEPEND=""
62 -RDEPEND="${DEPEND}
63 +RDEPEND="
64 media-libs/libsdl2
65 media-libs/openal
66 sys-libs/zlib
67 @@ -41,15 +42,16 @@ src_unpack() {
68 }
69
70 src_install() {
71 - local dir="${GAMES_PREFIX_OPT}/${PN}"
72 - local arch=x86
73 + local dir="/opt/${PN}"
74 + local arch
75 use amd64 && arch=x86_64
76 + use x86 && arch=x86
77
78 exeinto "${dir}"
79 insinto "${dir}"
80
81 make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
82 - games_make_wrapper "${PN}" "./${PN}" "${dir}"
83 + make_wrapper "${PN}" "./${PN}" "${dir}"
84
85 newexe "${MY_PN}.bin.${arch}" "${PN}"
86 newicon "${MY_PN}.png" "${PN}.png"
87 @@ -68,8 +70,5 @@ src_install() {
88 "loc" \
89 "rubiks" \
90 "shared"
91 -
92 - prepgamesdirs
93 -
94 base_src_install_docs
95 }