summaryrefslogtreecommitdiff
path: root/Ports/brogue/package.sh
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-06-01 20:50:40 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-08 11:40:31 +0100
commit34eff055b260b0642a87150a1010f2071318a565 (patch)
treef5eb0166bfa21f08a60a83e53ef6d504be5e4bc6 /Ports/brogue/package.sh
parent6238b3896a297da808749aa3442383501274106d (diff)
downloadserenity-34eff055b260b0642a87150a1010f2071318a565.zip
Ports/brogue: Update brogue to version 1.11.1
Diffstat (limited to 'Ports/brogue/package.sh')
-rwxr-xr-xPorts/brogue/package.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/Ports/brogue/package.sh b/Ports/brogue/package.sh
index 18edb02705..fad1624628 100755
--- a/Ports/brogue/package.sh
+++ b/Ports/brogue/package.sh
@@ -1,16 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
-port=brogue
+port='brogue'
depends=("SDL2" "SDL2_image")
-version=1.10.1
+version='1.11.1'
workdir="BrogueCE-${version}"
-files="https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz 3e0425b3f1b59afe98a92c0282aa4dd7e8964b53f7cab969fcf437701a04c5fa"
-auth_type=sha256
+files="https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz dc562cf774f88b12b6aeebdac5a00e62e8598b3f84da2130a54a67a60c5debf2"
+auth_type='sha256'
makeopts+=("bin/brogue")
install() {
- datadir="$SERENITY_INSTALL_ROOT/usr/local/share/games/brogue/assets"
+ 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
+ mkdir -p "${datadir}"
+ cp "${workdir}"/bin/assets/* "${datadir}"
cp "${workdir}/bin/brogue" "${SERENITY_INSTALL_ROOT}/usr/local/bin"
}