mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
17 lines
626 B
Bash
Executable file
17 lines
626 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='brogue'
|
|
depends=("SDL2" "SDL2_image")
|
|
version='1.11.1'
|
|
workdir="BrogueCE-${version}"
|
|
files=(
|
|
"https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz dc562cf774f88b12b6aeebdac5a00e62e8598b3f84da2130a54a67a60c5debf2"
|
|
)
|
|
makeopts+=("bin/brogue")
|
|
|
|
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"
|
|
}
|