Files
haikuports/games-rpg/zsdx/zsdx-1.12.3.recipe
2023-12-06 11:57:13 +01:00

38 lines
1.0 KiB
Bash

SUMMARY="A free 2D Zelda fangame"
DESCRIPTION="The Legend of Zelda: Mystery of Solarus DX is set to be a direct \
sequel to The Legend of Zelda: A Link to the Past on the SNES, using the same \
graphics and game mechanisms. Zelda Mystery of Solarus DX is the first game \
made with the Solarus engine and in fact, Solarus was primarily designed for this game."
HOMEPAGE="http://www.zelda-solarus.com/"
COPYRIGHT="2011 Nintendo"
LICENSE="GNU GPL v3
Attribution-ShareAlike 3.0 Unported"
REVISION="1"
SOURCE_URI="https://gitlab.com/solarus-games/games/zsdx/-/archive/v$portVersion/zsdx-v$portVersion.tar.bz2"
CHECKSUM_SHA256="29065d3280ec03176e8de0a7a26504421d43c5778b566e50c212deb25b45d66a"
SOURCE_DIR="zsdx-v$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
zsdx = $portVersion
cmd:zsdx
"
REQUIRES="
cmd:solarus_run
"
INSTALL()
{
mkdir -p $dataDir/solarus/zsdx
cp -R data $dataDir/solarus/zsdx/
mkdir -p $binDir
cat > $binDir/zsdx << EOF
#!/bin/sh
solarus-run $dataDir/solarus/zsdx
EOF
chmod 755 $binDir/zsdx
}