72 lines
2.0 KiB
Bash
72 lines
2.0 KiB
Bash
SUMMARY="Play cute bunnies jumping on each other's heads"
|
|
DESCRIPTION="This is a game for the whole family. You play cute fluffy little \
|
|
bunnies and hop on each other's heads.
|
|
|
|
At the beginning you are in the menu, where you have to let each active \
|
|
player juimp over the tree trunk to enter the play area, and then walk to the \
|
|
right. You will then enter the arena. The aim is to jump on the other bunnies' \
|
|
heads...
|
|
|
|
Jump 'n Bump was originally a DOS game by Brainchild Design, which was open \
|
|
sourced under the GPL license and ported to SDL, and then SDL 2."
|
|
HOMEPAGE="https://gitlab.com/LibreGames/jumpnbump"
|
|
COPYRIGHT="1998-2019 Jump 'n Bump developers"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="$HOMEPAGE/-/archive/$portVersion/jumpnbump-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="2f18f20d9f31c0d2e1765884f8fa4a2f228ee42a0fccd280cae1c09a7951f97d"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
jumpnbump$secondaryArchSuffix = $portVersion
|
|
cmd:gobpack
|
|
cmd:jnbpack
|
|
cmd:jnbunpack
|
|
cmd:jumpnbump
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
lib:libSDL2_net_2.0$secondaryArchSuffix
|
|
lib:libSDL2_mixer_2.0$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
devel:libSDL2_net_2.0$secondaryArchSuffix
|
|
devel:libSDL2_mixer_2.0$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs \
|
|
PREFIX="$prefix" \
|
|
BINDIR="$commandBinDir" \
|
|
DATADIR="$dataDir"
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make PREFIX="$prefix" BINDIR="$commandBinDir" DATADIR="$dataDir" install
|
|
rm -rf "$dataDir/applications" "$dataDir/icons"
|
|
|
|
install -m 755 -d "$docDir"
|
|
cp -r docs README.md "$docDir"
|
|
addAppDeskbarSymlink "$commandBinDir/jumpnbump" "Jump 'n Bump"
|
|
}
|