59 lines
1.5 KiB
Bash
59 lines
1.5 KiB
Bash
SUMMARY="An isometric shooter game"
|
|
DESCRIPTION="Postal is a port based on the open sourced original game code
|
|
|
|
Please note you will need the original game files to play this game.
|
|
|
|
To play: copy the Linux data folders (res and title) to:
|
|
/boot/home/config/non-packaged/data/PostalPlus
|
|
"
|
|
HOMEPAGE="https://runningwithscissors.com/games/postal/"
|
|
COPYRIGHT="1997-2003 Running With Scissors"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="1b5d7b9ffe0af4b20ca6825a7471a810ab6a6ef9"
|
|
SOURCE_URI="https://github.com/classiccoding/postal-1-open-source/archive/$srcGitRev.zip"
|
|
CHECKSUM_SHA256="adbfe09eeaf67527703d68c43989ddabecdcfca5bfcdc57857f36b282e90e703"
|
|
SOURCE_DIR="postal-1-open-source-$srcGitRev"
|
|
PATCHES="postal-$portVersion.patchset"
|
|
ADDITIONAL_FILES="postal.rdef"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
postal$secondaryArchSuffix = $portVersion
|
|
app:postal1 = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make HAIKU=1 $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
mkdir -p $dataDir/Postal
|
|
cp bin/postal1 $appsDir/postal1
|
|
cp postal_plus.ini $dataDir/Postal/POSTAL.INI
|
|
addResourcesToBinaries $portDir/additional-files/postal.rdef $appsDir/postal1
|
|
addAppDeskbarSymlink $appsDir/postal1 "Postal"
|
|
}
|