mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
62 lines
1.8 KiB
Bash
62 lines
1.8 KiB
Bash
SUMMARY="ZDoom-based sequel of the 1996 non-violent cereal-based FPS game"
|
|
DESCRIPTION="Chex Quest 3 is a 2008 computer game which runs on the ZDoom engine.
|
|
It was developed by Charles Jacobi, who was the art director and lead artist \
|
|
for Digital Café and worked on the original Chex Quest.
|
|
|
|
Chex Quest 3 contains slightly updated versions of the maps from Chex Quest (episode 1) \
|
|
and Chex Quest 2 (episode 2), in addition to its new maps.
|
|
|
|
This package requires GZDoom to run."
|
|
HOMEPAGE="https://www.chexquest3.com/"
|
|
COPYRIGHT="
|
|
1996 - 1997 Digital Café, General Mills
|
|
2008 - 2009 Charles Jacobi & Contributors
|
|
"
|
|
LICENSE="Public Domain"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.chexquest3.com/downloads/ChexQuest3_v1.4.zip"
|
|
CHECKSUM_SHA256="29abab521cf9de4cc561afb84cf804793d90f1cf40f6384e19b34f72923dd446"
|
|
SOURCE_DIR=""
|
|
ADDITIONAL_FILES="
|
|
chexquest3.rdef.in
|
|
chexquest3.sh
|
|
"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE="yes"
|
|
|
|
PROVIDES="
|
|
chexquest3 = $portVersion
|
|
"
|
|
REQUIRES="
|
|
engine:zdoom
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
# Pack game data
|
|
mkdir -p $dataDir/doomdata && cp chex3.wad $dataDir/doomdata
|
|
|
|
# Pack docs
|
|
mkdir -p $docDir && cp -t $docDir *.txt
|
|
|
|
# Pack script
|
|
mkdir -p $appsDir/Chexquest3 && cp $portDir/additional-files/chexquest3.sh $appsDir/Chexquest3
|
|
chmod +x $appsDir/Chexquest3/chexquest3.sh
|
|
|
|
# Generate the rdef
|
|
local MAJOR="`echo "$portVersion" | cut -b1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -b3`"
|
|
local LONG_INFO="$SUMMARY"
|
|
sed \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
|
$portDir/additional-files/chexquest3.rdef.in > chexquest3.rdef
|
|
|
|
# Iconize & link script
|
|
rc chexquest3.rdef
|
|
resattr -o $appsDir/Chexquest3/chexquest3.sh chexquest3.rsrc
|
|
addAppDeskbarSymlink $appsDir/Chexquest3/chexquest3.sh "Chex Quest 3"
|
|
}
|