0
0
Fork 0
haikuports/games-puzzle/abrick/abrick-1.12.recipe

55 lines
1.5 KiB
Bash

SUMMARY="Abandoned Bricks is a tetris like cross-platform puzzle game"
DESCRIPTION="The goal of the game is to reach the highest possible score. \
Shapes fall from the top of the screen. You can move them sideways and \
rotate them in order to get the best fit when they reach the bottom. \
When you manage to complete a horizontal line, it disappears. When screen \
is full the game is over. The game speeds up whenever the lines are full. \
Therefore, it's better to fill as many lines you can at once. That way you \
can reach higher levels with the same speed."
HOMEPAGE="http://www.abrick.sourceforge.net"
COPYRIGHT="2004-2005 Milan Babuskov"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/abrick/files/abrick/abrick-1.12/abrick-1.12-src.tar.gz"
CHECKSUM_SHA256="75113463cb8cdbcd0ed251865253c1124ae493b5c1a35393e901b3337c9d0c74"
SOURCE_DIR="abrick-1.12-src"
PATCHES="abrick-1.12.patch"
ARCHITECTURES="?all x86_gcc2"
PROVIDES="
abrick = $portVersion
app:abrick = $portVersion
"
REQUIRES="
haiku
lib:libSDL_1.2
lib:libSDL_image_1.2
lib:libSDL_mixer_1.2
"
BUILD_REQUIRES="
haiku_devel
devel:libSDL
devel:libSDL_image
devel:libSDL_mixer
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Abrick $documentationDir/packages/abrick
cp -af abrick $appsDir/Abrick
cp -af data $appsDir/Abrick
cp -af html/* $documentationDir/packages/abrick
addAppDeskbarSymlink $appsDir/Abrick/abrick Abrick
}