diff --git a/games-fps/far-cry-demo/Manifest b/games-fps/far-cry-demo/Manifest new file mode 100644 index 0000000000..7f891ec5b9 --- /dev/null +++ b/games-fps/far-cry-demo/Manifest @@ -0,0 +1 @@ +DIST far-cry-demo.tar.xz 445090396 BLAKE2B c003966975b7d050a97602b2b072dde882c2a4bd0263313db143217f8e873d3d82db36011e84b3b915bd9d642d3ce137377c82dc64b4dd84937d85e651cbf396 SHA512 59300980b8bece826dd61a967ab2c63dea3af95955e533d4e981e3840deb2a04add87c24a1a881915911dd661dc4c4f3cf93dd9e34f6aca8644748f478a8990d diff --git a/games-fps/far-cry-demo/far-cry-demo-9999.ebuild b/games-fps/far-cry-demo/far-cry-demo-9999.ebuild new file mode 100644 index 0000000000..c582ebb6e2 --- /dev/null +++ b/games-fps/far-cry-demo/far-cry-demo-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Famous game from 2004" +HOMEPAGE="https://en.wikipedia.org/wiki/Far_Cry_(video_game)" + +SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz" + +KEYWORDS="~amd64" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +RESTRICT="strip" + +RDEPEND=" + ~games-emulation/conty-1.25.2:0 +" + +QA_PREBUILT="*" + +src_install() { + + path="/opt/games/" + conty=conty-1.25.2 + + dodir $path + dodir /usr/bin + cp -r . "$ED/$path" || 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" + fperms +x "/usr/bin/$PN" + +} + +pkg_postinst() { + einfo "Downloaded from https://www.moddb.com/games/far-cry/downloads/far-cry-demo-1" + einfo "" + einfo "More about the game:" + einfo "https://www.wikidata.org/wiki/Q337865" + einfo "https://appdb.winehq.org/objectManager.php?sClass=version&iId=37029" + einfo "" + einfo "Buy the full game at" + einfo "https://store.steampowered.com/app/13520/Far_Cry/" + 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" +} diff --git a/games-fps/far-cry-demo/metadata.xml b/games-fps/far-cry-demo/metadata.xml new file mode 100644 index 0000000000..812e586b96 --- /dev/null +++ b/games-fps/far-cry-demo/metadata.xml @@ -0,0 +1,8 @@ + + + + + Vitaly Zdanevich + zdanevich.vitaly@ya.ru + +