2021-05-15 01:21:59 +02:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=brogue
|
2021-09-27 00:16:18 +02:00
|
|
|
depends=("SDL2" "SDL2_image")
|
2021-05-15 01:21:59 +02:00
|
|
|
version=1.9.3
|
|
|
|
workdir="BrogueCE-${version}"
|
|
|
|
files="https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue.tar.gz 441182916a16114bedfee614b09a198b4877a25db2544c5e087c86038aae2452"
|
|
|
|
auth_type=sha256
|
2021-09-27 00:16:18 +02:00
|
|
|
makeopts=("bin/brogue")
|
2021-05-15 01:21:59 +02:00
|
|
|
|
|
|
|
install() {
|
|
|
|
datadir="$SERENITY_INSTALL_ROOT/usr/local/share/games/brogue/assets"
|
|
|
|
mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
|
|
|
mkdir -p $datadir
|
|
|
|
cp $workdir/bin/assets/* $datadir
|
|
|
|
cp "${workdir}/bin/brogue" "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
|
|
|
}
|