1 |
commit: 83a60bbc62fab05b1bed308f5b3127f6da6b5bfa |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 28 22:19:08 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Fri Feb 28 22:19:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=83a60bbc |
7 |
|
8 |
games-arcade/gianasreturn: update to 1.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
...eturn-1.001.ebuild => gianasreturn-1.10.ebuild} | 29 +++++++++------------- |
14 |
1 file changed, 12 insertions(+), 17 deletions(-) |
15 |
|
16 |
diff --git a/games-arcade/gianasreturn/gianasreturn-1.001.ebuild b/games-arcade/gianasreturn/gianasreturn-1.10.ebuild |
17 |
similarity index 57% |
18 |
rename from games-arcade/gianasreturn/gianasreturn-1.001.ebuild |
19 |
rename to games-arcade/gianasreturn/gianasreturn-1.10.ebuild |
20 |
index 53a70f6..03a01c7 100644 |
21 |
--- a/games-arcade/gianasreturn/gianasreturn-1.001.ebuild |
22 |
+++ b/games-arcade/gianasreturn/gianasreturn-1.10.ebuild |
23 |
@@ -1,13 +1,13 @@ |
24 |
-# Copyright 1999-2011 Gentoo Foundation |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: games-arcade/gianasreturn-1.0.ebuild,v 1.0 2011/01/12 12:06:59 frostwork Exp $ |
28 |
|
29 |
-EAPI="2" |
30 |
-inherit games |
31 |
+EAPI=7 |
32 |
+ |
33 |
+inherit desktop eutils |
34 |
|
35 |
DESCRIPTION="Unofficial sequel of The Great Giana Sisters" |
36 |
HOMEPAGE="http://www.gianas-return.de/" |
37 |
-SRC_URI="http://www.gianas-return.de/gr-v${PV/./}-ubuntu.zip" |
38 |
+SRC_URI="http://www.retroguru.com/gianas-return/gianas-return-v.latest-linux.tar.gz -> ${PN}-v${PV}-linux.tar.gz" |
39 |
|
40 |
LICENSE="free-noncomm" |
41 |
SLOT="0" |
42 |
@@ -18,27 +18,22 @@ RDEPEND="media-libs/libsdl |
43 |
media-libs/sdl-mixer[flac,mad,mikmod,vorbis] |
44 |
sys-libs/zlib" |
45 |
|
46 |
-S=${WORKDIR} |
47 |
- |
48 |
-dir=${GAMES_PREFIX_OPT}/${PN} |
49 |
+S="${WORKDIR}/giana" |
50 |
|
51 |
src_install() { |
52 |
- if use amd64; then |
53 |
- local bin=giana_ubuntu64 |
54 |
- fi |
55 |
- if use x86; then |
56 |
- local bin=giana_ubuntu32 |
57 |
- fi |
58 |
+ local dir="/opt/${PN}" |
59 |
+ local bin |
60 |
+ |
61 |
+ use amd64 && bin="giana_linux64" |
62 |
+ use x86 && bin="giana_linux32" |
63 |
|
64 |
insinto "${dir}" |
65 |
doins -r data || die "doins failed" |
66 |
exeinto "${dir}" |
67 |
doexe "${bin}" || die "doexe failed" |
68 |
|
69 |
- games_make_wrapper gianasreturn ./"${bin}" "${dir}" "${dir}" |
70 |
+ make_wrapper gianasreturn ./"${bin}" "${dir}" "${dir}" |
71 |
doicon giana.png |
72 |
make_desktop_entry gianasreturn "Giana's Return" giana |
73 |
dodoc {config,options,readme}.txt |
74 |
- |
75 |
- prepgamesdirs |
76 |
} |