mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
59 lines
1.2 KiB
Bash
59 lines
1.2 KiB
Bash
SUMMARY="A free version of the game Gish"
|
|
DESCRIPTION="FreeGish is an open-source, freely redistributable version of Gish, a \
|
|
physics-based platforming game featuring a ball of tar."
|
|
HOMEPAGE="http://github.com/freegish/freegish"
|
|
COPYRIGHT="2012-2014 Joris van de Donk"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/freegish/freegish/archive/f53d9153.zip"
|
|
CHECKSUM_SHA256="2d5e0f9d24ddc648e4cdf45adf50043ec13ecd991da61166d670f4be74447665"
|
|
SOURCE_DIR="freegish-f53d915381c2dd9889dbebdff0541b04c6065067"
|
|
PATCHES="freegish-1.0.patchset"
|
|
|
|
ARCHITECTURES="?x86 x86_gcc2 ?x86_64"
|
|
|
|
PROVIDES="
|
|
freegish = $portVersion
|
|
app:FreeGish = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libogg
|
|
lib:libopenal
|
|
lib:libpng
|
|
lib:libsdl
|
|
lib:libvorbis
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libogg
|
|
devel:libopenal
|
|
devel:libpng
|
|
devel:libsdl
|
|
devel:libvorbis
|
|
devel:libz
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build && cd build
|
|
cmake .. -DDATAPATH='"$appsDir"'
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd ..
|
|
mkdir -p $appsDir/FreeGish
|
|
cp -r freegish-f53d915381c2dd9889dbebdff0541b04c6065067/* $appsDir/FreeGish
|
|
mv $appsDir/FreeGish/freegish $appsDir/FreeGish/FreeGish
|
|
addAppDeskbarSymlink $appsDir/FreeGish/FreeGish
|
|
}
|