Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-04-10 11:33:20 +00:00
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST far-cry-demo.tar.xz 445090396 BLAKE2B c003966975b7d050a97602b2b072dde882c2a4bd0263313db143217f8e873d3d82db36011e84b3b915bd9d642d3ce137377c82dc64b4dd84937d85e651cbf396 SHA512 59300980b8bece826dd61a967ab2c63dea3af95955e533d4e981e3840deb2a04add87c24a1a881915911dd661dc4c4f3cf93dd9e34f6aca8644748f478a8990d

View File

@@ -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"
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Vitaly Zdanevich</name>
<email>zdanevich.vitaly@ya.ru</email>
</maintainer>
</pkgmetadata>