mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
laserkombat: Add recipe (#7008)
* laserkombat: Add recipe * laserkombat: Fix copyright date
This commit is contained in:
committed by
GitHub
parent
81eb578fc8
commit
558920a4a5
53
games-puzzle/laserkombat/laserkombat-1.0.recipe
Normal file
53
games-puzzle/laserkombat/laserkombat-1.0.recipe
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user