diff options
author | Vitaly Zdanevich <zdanevich.vitaly@ya.ru> | 2024-04-14 01:36:34 +0400 |
---|---|---|
committer | Vitaly Zdanevich <zdanevich.vitaly@ya.ru> | 2024-04-14 01:36:34 +0400 |
commit | f732a56b4d06883d3ff99102fb5710a690ce7081 (patch) | |
tree | b8454485c9edcec60da5d13b93ad966975ddc88d /games-fps | |
parent | dev-python/graphql-core: enable py3.12, fix tests (diff) | |
download | guru-f732a56b4d06883d3ff99102fb5710a690ce7081.tar.gz guru-f732a56b4d06883d3ff99102fb5710a690ce7081.tar.bz2 guru-f732a56b4d06883d3ff99102fb5710a690ce7081.zip |
games-fps/far-cry-demo: Path from /opt/games to /opt - for https://github.com/gentoo/guru/commit/588027158ca99b03954b78a6c432d3801e40c686
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/far-cry-demo/far-cry-demo-9999.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/games-fps/far-cry-demo/far-cry-demo-9999.ebuild b/games-fps/far-cry-demo/far-cry-demo-9999.ebuild index 07734b759..90f9770b8 100644 --- a/games-fps/far-cry-demo/far-cry-demo-9999.ebuild +++ b/games-fps/far-cry-demo/far-cry-demo-9999.ebuild @@ -23,16 +23,15 @@ QA_PREBUILT="*" src_install() { - path="/opt/games/" conty=conty-1.25.2 - dodir $path + dodir opt dodir /usr/bin - cp -r . "$ED/$path" || die + cp -r . "$ED/opt" || die pr="WINEPREFIX=/home/\$USER/.wine-far-cry-demo" - echo "cd $path$PN; $pr $conty wine /opt/games/$PN/FarCry.exe; cd -" > "$ED/usr/bin/$PN" + echo "cd $path$PN; $pr $conty wine /opt/$PN/FarCry.exe; cd -" > "$ED/usr/bin/$PN" fperms +x "/usr/bin/$PN" } @@ -49,5 +48,5 @@ pkg_postinst() { einfo "https://www.gog.com/game/far_cry" einfo "https://www.humblebundle.com/store/far-cry" einfo "" - einfo "The game is installed to $path$PN - if you want to run it by another Wine or operating system" + einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system" } |