summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-05 23:32:08 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-03-05 23:32:08 +0300
commit11840c7823badef7b2d1085517947a8234a10710 (patch)
treedb1b7be76030ac104dd940c2b54f99bcbf802fae
parentgames-action/d2x-xl: remove package (diff)
downloadgamerlay-11840c7823badef7b2d1085517947a8234a10710.tar.gz
gamerlay-11840c7823badef7b2d1085517947a8234a10710.tar.bz2
gamerlay-11840c7823badef7b2d1085517947a8234a10710.zip
games-action/cave_story_plus: update package
Migrate from deprecated eclass. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
-rw-r--r--games-action/cave_story_plus/cave_story_plus-100-r1.ebuild (renamed from games-action/cave_story_plus/cave_story_plus-100.ebuild)12
1 files changed, 5 insertions, 7 deletions
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
index baed6bc..8938bc7 100644
--- a/games-action/cave_story_plus/cave_story_plus-100.ebuild
+++ b/games-action/cave_story_plus/cave_story_plus-100-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit games
+inherit desktop eutils
DESCRIPTION="2D action-adventure game with semil-linear storyline"
HOMEPAGE="https://www.nicalis.com/games/cavestory+"
@@ -65,7 +65,7 @@ pkg_nofetch() {
}
src_install() {
- local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local dir="/opt/${PN}"
local exe;
use amd64 && exe="${MY_PN}_64"
@@ -79,9 +79,7 @@ src_install() {
doicon "${FILESDIR}/${PN}.png"
- games_make_wrapper "${PN}" "./${exe}" "${dir}"
+ make_wrapper "${PN}" "./${exe}" "${dir}"
doicon "${FILESDIR}/${PN}.png" || die
make_desktop_entry "${PN}" "${MY_PN}"
-
- prepgamesdirs
}