aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-03-25 19:01:24 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-03-25 19:01:24 +0400
commit43cf5f22df9be8f94786a7305b83c24f9a76ab3b (patch)
treece2d6c75190a65cba04b5992b50f4368c568d6ee /games-rpg
parentgui-apps/riverguile: fix guile dependency (>=3.0.9) (diff)
downloadguru-43cf5f22df9be8f94786a7305b83c24f9a76ab3b.tar.gz
guru-43cf5f22df9be8f94786a7305b83c24f9a76ab3b.tar.bz2
guru-43cf5f22df9be8f94786a7305b83c24f9a76ab3b.zip
games-rpg/kings-bounty-the-legend-demo: manual link creation -> make_wrapper
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
index 3170a42e7..5293c6473 100644
--- a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
+++ b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit wrapper
+
DESCRIPTION="With battles like in Heroes of Might and Magic (HoMM)"
HOMEPAGE="https://en.wikipedia.org/wiki/King%27s_Bounty:_The_Legend"
@@ -30,12 +32,7 @@ src_install() {
mkdir -p "$ED/usr/bin/" || die
cp -r "$PN" "$ED/opt/$PN" || die
- echo "wine /opt/$PN/kb.exe" > "$ED/usr/bin/$PN"
- fperms +x "/usr/bin/$PN"
- # I tried this but on run error: "Problems during decoding OGG files" -
- # because I need to run from the directory of the game,
- # but cd does not works with exec
- # make_wrapper "$PN" "$conty wine /opt/$PN/man2.exe /d /opt/$PN"
+ make_wrapper "$PN" "wine /opt/$PN/kb.exe"
}