1 |
commit: 6e70a80f7b54fdff3cbe45bea13b5625490846af |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 29 00:51:22 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Sat Feb 29 00:51:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=6e70a80f |
7 |
|
8 |
games-arcade/tokitori: update package |
9 |
|
10 |
Migrated 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/tokitori/metadata.xml | 4 ++++ |
16 |
games-arcade/tokitori/tokitori-20130703.ebuild | 25 +++++++++++++------------ |
17 |
2 files changed, 17 insertions(+), 12 deletions(-) |
18 |
|
19 |
diff --git a/games-arcade/tokitori/metadata.xml b/games-arcade/tokitori/metadata.xml |
20 |
new file mode 100644 |
21 |
index 0000000..097975e |
22 |
--- /dev/null |
23 |
+++ b/games-arcade/tokitori/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/tokitori/tokitori-20130703.ebuild b/games-arcade/tokitori/tokitori-20130703.ebuild |
31 |
index eece263..bd00381 100644 |
32 |
--- a/games-arcade/tokitori/tokitori-20130703.ebuild |
33 |
+++ b/games-arcade/tokitori/tokitori-20130703.ebuild |
34 |
@@ -1,6 +1,9 @@ |
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 |
+EAPI=7 |
41 |
+ |
42 |
+inherit desktop eutils unpacker-nixstaller |
43 |
|
44 |
MY_PN="${PN^^t}" |
45 |
TS="1372878397" |
46 |
@@ -11,13 +14,12 @@ HOMEPAGE="http://www.tokitori.com/" |
47 |
SRC_URI="${MY_P}.sh" |
48 |
RESTRICT="fetch" |
49 |
|
50 |
-LICENSE="as-is" |
51 |
+LICENSE="all-rights-reserved" |
52 |
SLOT="0" |
53 |
KEYWORDS="-* ~amd64 ~x86" |
54 |
IUSE="" |
55 |
|
56 |
-DEPEND="" |
57 |
-RDEPEND="${DEPEND} |
58 |
+RDEPEND=" |
59 |
media-libs/libsdl2 |
60 |
media-libs/openal |
61 |
sys-libs/zlib |
62 |
@@ -34,21 +36,23 @@ S="${WORKDIR}" |
63 |
DOCS=( "README.linux" ) |
64 |
|
65 |
src_unpack() { |
66 |
- local arch=x86 |
67 |
+ local arch |
68 |
use amd64 && arch=x86_64 |
69 |
+ use x86 && arch=x86 |
70 |
nixstaller_unpack "instarchive_all" "instarchive_all_${arch}" |
71 |
} |
72 |
|
73 |
src_install() { |
74 |
- local dir="${GAMES_PREFIX_OPT}/${PN}" |
75 |
- local arch=x86 |
76 |
+ local dir="/opt/${PN}" |
77 |
+ local arch |
78 |
use amd64 && arch=x86_64 |
79 |
+ use x86 && arch=x86 |
80 |
|
81 |
exeinto "${dir}" |
82 |
insinto "${dir}" |
83 |
|
84 |
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" |
85 |
- games_make_wrapper "${PN}" "./${PN}" "${dir}" |
86 |
+ make_wrapper "${PN}" "./${PN}" "${dir}" |
87 |
|
88 |
newexe "${MY_PN}.bin.${arch}" "${PN}" |
89 |
newicon "${MY_PN}.png" "${PN}.png" |
90 |
@@ -69,8 +73,5 @@ src_install() { |
91 |
"menu" \ |
92 |
"splash" \ |
93 |
"textures" |
94 |
- |
95 |
- prepgamesdirs |
96 |
- |
97 |
base_src_install_docs |
98 |
} |