2020-03-14 04:04:19 +01:00
|
|
|
# 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"
|
|
|
|
|
2020-04-23 13:47:20 +02:00
|
|
|
BDEPEND+="
|
|
|
|
media-gfx/icoutils
|
|
|
|
media-gfx/imagemagick
|
|
|
|
"
|
2020-03-21 23:43:04 +01:00
|
|
|
|
2020-04-23 13:47:20 +02:00
|
|
|
RDEPEND+="
|
2020-03-14 04:04:19 +01:00
|
|
|
app-emulation/wine-vanilla[abi_x86_32]
|
2020-04-23 13:47:20 +02:00
|
|
|
app-arch/unshield
|
|
|
|
"
|
2020-03-14 04:04:19 +01:00
|
|
|
|
|
|
|
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
|
2020-03-21 23:37:48 +01:00
|
|
|
wrestool -x -t14 -n 188 -o . clou2/Sting.exe
|
|
|
|
convert Sting.exe_14_188_3079.ico clou2.png
|
2020-03-14 04:04:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /usr/share/games
|
2020-03-21 23:37:48 +01:00
|
|
|
doins -r clou2
|
|
|
|
insinto /usr/share/pixmaps
|
|
|
|
doins clou2.png
|
|
|
|
insinto /usr/share/applications
|
|
|
|
doins "${FILESDIR}/clou2.desktop"
|
2020-03-14 04:04:19 +01:00
|
|
|
dobin "${FILESDIR}/clou2"
|
|
|
|
}
|