Files
haikuports/games-puzzle/laserkombat/laserkombat-1.0.recipe
Julius C. Enriquez 558920a4a5 laserkombat: Add recipe (#7008)
* laserkombat: Add recipe

* laserkombat: Fix copyright date
2022-07-02 09:27:02 +02:00

54 lines
1.5 KiB
Bash

SUMMARY="Shoot all the tanks in a classic puzzle game"
DESCRIPTION="A classic puzzle game, now available for modern systems. \
Destroy all the tanks to beat the level. Stay out of line of sight though,\
or you will get shot. Shoot your lasers at mirrors, blow up bomb or push \
your enemies into water with movable blocks to win. Good luck!"
HOMEPAGE="https://github.com/sharkwouter/laserkombat"
COPYRIGHT="1999-2022 David Dewey. Wouter Wijsman"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/sharkwouter/laserkombat/archive/$portVersion-beta.tar.gz"
CHECKSUM_SHA256="6ee371c1e68ddfa58380592b2afa18e0b2bb88b17521c39ffdb84028109326ad"
SOURCE_DIR="laserkombat-$portVersion-beta"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
laserkombat$secondaryArchSuffix = $portVersion
app:laserkombat = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL2_2.0$secondaryArchSuffix
lib:libSDL2_ttf_2.0$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libSDL2_2.0$secondaryArchSuffix
devel:libSDL2_ttf_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
}
INSTALL()
{
mkdir -p $appsDir/laserkombat
cp -r ./build/assets $appsDir/laserkombat
cp ./build/laserkombat $appsDir/laserkombat/laserkombat
addAppDeskbarSymlink $appsDir/laserkombat/laserkombat "Laser Kombat"
}