Files
haikuports/games-arcade/slimevolley/slimevolley-2.4.2.recipe
Humdinger dd101b6a98 Improved Slime Volley.
* Renamed recipe and its folder to "slimevolley" as that is the name under
  PROVIDES. Hopefully that makes it finally installable from HDS.
* Added a vector icon rdef and I-O-M file.
* Added a patch putting the settings file into B_USER_SETTINGS_DIRECTORY.
2015-09-05 10:14:49 +02:00

69 lines
1.4 KiB
Bash

SUMMARY="A slimy volleyball game"
DESCRIPTION="Slime volley is a volleyball simulation in which you control a \
slime (a semicircular blob) on which the ball bounces. Up to 6 players can \
play Slime Volley, locally or over the network. Lone fighters can also \
play against the computer."
HOMEPAGE="http://slime.tuxfamily.org/"
COPYRIGHT="2008-2014 VinDuv, McMic"
LICENSE="GNU GPL v3"
REVISION="3"
SOURCE_URI="http://slime.tuxfamily.org/down.php?id=1&os=src"
SOURCE_FILENAME="slimevolley-$portVersion.tar.bz2"
CHECKSUM_SHA256="be8f461c6f1188ba709b1fbcbe64edffca4b8eb358bd2ed8825f8ebf30e660d3"
SOURCE_DIR="slimevolley"
PATCHES="slimevolley-2.4.2.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
slimevolley = $portVersion
app:slimevolley
"
REQUIRES="
haiku
lib:libintl
lib:libsdl
lib:libsdl_image
lib:libsdl_net
lib:libsdl_ttf
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
devel:libsdl
devel:libsdl_image
devel:libsdl_net
devel:libsdl_ttf
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:make
"
USER_SETTINGS_FILES="
settings/Slime_Volley
"
BUILD()
{
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DI10N_DIR=$dataDir/locale \
-DDATA_DIR=$dataDir/games/slimevolley
make $jobArgs
addResourcesToBinaries $portDir/additional-files/slimevolley.rdef slimevolley
}
INSTALL()
{
make install
mkdir -p $dataDir $appsDir
mv $prefix/share/locale $dataDir
rm -r $prefix/share
mv $binDir/slimevolley "$appsDir/Slime Volley"
addAppDeskbarSymlink "$appsDir/Slime Volley"
}