commit:     5ea5678f4ed937c2622ddd51e4236c2910ec1a88
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Mar 21 14:53:44 2024 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Thu Mar 21 14:53:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ea5678f

games-strategy/armies-of-exigo-demo: einfo add installed location

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 .../armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild       | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git 
a/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild 
b/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
index 10323aecaa..8837556736 100644
--- a/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
+++ b/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
@@ -25,6 +25,8 @@ RDEPEND="
 
 QA_PREBUILT="*"
 
+dir=/opt/armies-of-exigo
+
 src_install() {
 
        conty=conty-1.25.2
@@ -37,7 +39,7 @@ src_install() {
 
        cp -r "$name" "$ED"/opt/armies-of-exigo/single-player-demo
 
-       path="/opt/armies-of-exigo/single-playerdemo/Exigo_spdemo.exe"
+       path="$dir/single-playerdemo/Exigo_spdemo.exe"
        make_wrapper "$single" "$conty wine \"$path\""
        # TODO add USE flag to be able to choolse local wine or wine-proton, 
against 1.4 GB dependency?
 
@@ -48,10 +50,12 @@ pkg_postinst() {
        einfo "https://en.wikipedia.org/wiki/Armies_of_Exigo";
        einfo "Discord: https://discord.gg/HcsjkNX3JY";
        einfo "https://armies-of-exigo.fandom.com/wiki/Armies_of_Exigo_Wiki";
-
+       einfo ""
        einfo "This great game from 2004 is an abandonware - in 2024 you can 
buy it only as a second-hand CD."
        einfo "List of creators: 
https://www.mobygames.com/game/16100/armies-of-exigo/credits/windows/";
        einfo "If you want - please try to communicate with authors about 
making Armies of Exigo free and open source,"
        einfo "or Intellectual Property holder can make a remake - add more 
display resolutions, improve the AI,"
-       einfo "make it runnable on modern Windows"
+       einfo "make it runnable on modern Windows."
+       einfo ""
+       einfo "The game is installed to $dir - if you want to run it by another 
Wine"
 }

Reply via email to