SUMMARY="A side-scrolling shoot 'em up space game" DESCRIPTION="In the year 2579, the intergalactic weapons corporation, WEAPCO, \ has dominated the galaxy. Guide Chris Bainfield and his friend Sid Wilson on \ their quest to liberate the galaxy from the clutches of WEAPCO. Along the way, \ you will encounter new foes, make new allies, and assist local rebels in \ strikes against the evil corporation." HOMEPAGE="https://pr-starfighter.github.io/" COPYRIGHT="2003 Parallel Realities 2011, 2012 Guss Sliepen 2015-2019 Julie Marchant" LICENSE="GNU GPL v3" REVISION="2" SOURCE_URI="https://github.com/pr-starfighter/starfighter/releases/download/v$portVersion/starfighter-${portVersion%.*.*}-src.tar.gz" CHECKSUM_SHA256="6b481a0fc5d4995c1da6a88c46edaaf75809b85f2c08228a239a4395e02c718f" SOURCE_FILENAME="starfighter-$portVersion.tar.gz" SOURCE_DIR="starfighter-${portVersion%.*.*}-src" PATCHES="starfighter-$portVersion.patch" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" starfighter$secondaryArchSuffix = $portVersion app:Starfighter = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libintl$secondaryArchSuffix lib:libSDL2_2.0$secondaryArchSuffix lib:libSDL2_image_2.0$secondaryArchSuffix lib:libSDL2_mixer_2.0$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libintl$secondaryArchSuffix devel:libSDL2_2.0$secondaryArchSuffix devel:libSDL2_image_2.0$secondaryArchSuffix devel:libSDL2_mixer_2.0$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:awk cmd:gcc$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " defineDebugInfoPackage starfighter$secondaryArchSuffix \ "$appsDir/Starfighter" BUILD() { export LIBS="-lintl" runConfigure ./configure make $jobArgs } INSTALL() { make install install -m 755 -d "$appsDir" rm -rf "$dataDir/applications" "$dataDir/pixmaps" mv "$binDir/starfighter" "$appsDir/Starfighter" addAppDeskbarSymlink "$appsDir/Starfighter" "Project: Starfighter" }