commit:     f732a56b4d06883d3ff99102fb5710a690ce7081
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sat Apr 13 21:36:34 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Apr 13 21:36:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f732a56b

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 <AT> ya.ru>

 games-fps/far-cry-demo/far-cry-demo-9999.ebuild | 9 ++++-----
 1 file 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 07734b7595..90f9770b8b 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"
 }

Reply via email to