1 |
commit: 11840c7823badef7b2d1085517947a8234a10710 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Mar 5 20:32:08 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Thu Mar 5 20:32:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=11840c78 |
7 |
|
8 |
games-action/cave_story_plus: update package |
9 |
|
10 |
Migrate from deprecated eclass. |
11 |
|
12 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
13 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
14 |
|
15 |
...e_story_plus-100.ebuild => cave_story_plus-100-r1.ebuild} | 12 +++++------- |
16 |
1 file changed, 5 insertions(+), 7 deletions(-) |
17 |
|
18 |
diff --git a/games-action/cave_story_plus/cave_story_plus-100.ebuild b/games-action/cave_story_plus/cave_story_plus-100-r1.ebuild |
19 |
similarity index 89% |
20 |
rename from games-action/cave_story_plus/cave_story_plus-100.ebuild |
21 |
rename to games-action/cave_story_plus/cave_story_plus-100-r1.ebuild |
22 |
index baed6bc..8938bc7 100644 |
23 |
--- a/games-action/cave_story_plus/cave_story_plus-100.ebuild |
24 |
+++ b/games-action/cave_story_plus/cave_story_plus-100-r1.ebuild |
25 |
@@ -1,9 +1,9 @@ |
26 |
-# Copyright 1999-2018 Gentoo Authors |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=5 |
31 |
+EAPI=7 |
32 |
|
33 |
-inherit games |
34 |
+inherit desktop eutils |
35 |
|
36 |
DESCRIPTION="2D action-adventure game with semil-linear storyline" |
37 |
HOMEPAGE="https://www.nicalis.com/games/cavestory+" |
38 |
@@ -65,7 +65,7 @@ pkg_nofetch() { |
39 |
} |
40 |
|
41 |
src_install() { |
42 |
- local dir="${GAMES_PREFIX_OPT}/${PN}" |
43 |
+ local dir="/opt/${PN}" |
44 |
local exe; |
45 |
|
46 |
use amd64 && exe="${MY_PN}_64" |
47 |
@@ -79,9 +79,7 @@ src_install() { |
48 |
|
49 |
doicon "${FILESDIR}/${PN}.png" |
50 |
|
51 |
- games_make_wrapper "${PN}" "./${exe}" "${dir}" |
52 |
+ make_wrapper "${PN}" "./${exe}" "${dir}" |
53 |
doicon "${FILESDIR}/${PN}.png" || die |
54 |
make_desktop_entry "${PN}" "${MY_PN}" |
55 |
- |
56 |
- prepgamesdirs |
57 |
} |