Added support for TheSting/Clou2

This commit is contained in:
grepwood@sucs.org 2020-03-14 04:04:19 +01:00
parent 6dc9bd6fb4
commit 882f0f96f1
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,3 @@
AUX clou2 165 BLAKE2B d4861ecd05d2746aeae50f93098e926ed24dd1830851503051e3d8d483889c08b9f4ac5c178837cc6351b51f3aba1e59746aa601a384a44ebc86c4694dbf2aa4 SHA512 50b53ee2d9c5f9ef825c5d434504dd183e703ae5947345da06320fd0741085858f11471820caedd783e5a9bd49d2a5978b09845b86b9222e0c9c49565aa2c8ce
AUX clou2.reg 322 BLAKE2B c21522376717476f21f8689624f6e16404a45984308fe4812567d7061cfaa91cf65f6a4f45d996b1a1b0540e0c273944fade0fe3b66ed22b3b82967dafc7a280 SHA512 119d4f1be6291c612272e4d71bcbf5abdda580f5f3420618b24751359e9a661ef09682bfbfe2b763d14c0d150020495cccc80a6a80df1fbffb92efcad095721a
EBUILD clou2-2.0f.ebuild 860 BLAKE2B e8ce01b37e13927af618edf3535c0ca462ec11d10cfd8ae2681f1c29923a7deec89973730174883d490ab884cfbcee52338311c4587a4e476cd60d5427f983b5 SHA512 637fea8b8180a2f55c895d96564572790e0ca50fd25d3cff3f32625b7e64c1ccdfe7fe95dd2489672a8b8a24f84a9dbe4ba2996ebe8bc72a42f8336615e89aac

View File

@ -0,0 +1,38 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Burglary simulator"
HOMEPAGE="https://web.archive.org/web/20090106121638/http://www.thesting-thegame.com/frameset-d.htm"
LICENSE="neoSoftware"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
app-emulation/wine-vanilla[abi_x86_32]
app-arch/unshield"
DEPEND="${RDEPEND}"
S=${WORKDIR}
src_unpack() {
if [ -z ${CDROM_ROOT} ]; then
die "CDROM_ROOT must be set in order to install TheSting."
fi
unshield -d . x ${CDROM_ROOT}/Data1.cab
rm -rf _*
cp ${CDROM_ROOT}/Setup/Sting.exe Program_Files
cp ${CDROM_ROOT}/'TheSting!.exe' Program_Files
cp -r ${CDROM_ROOT}/Game Program_Files
cp "${FILESDIR}"/clou2.reg Program_Files
mv Program_Files clou2
}
src_install() {
insinto /usr/share/games
doins -r *
dobin "${FILESDIR}/clou2"
}

View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -xeuo pipefail
export WINEPREFIX=~/.wine_clou2
export WINEARCH=win32
pushd /usr/share/games/clou2
wine regedit /C clou2.reg
wine Sting.exe

Binary file not shown.