summaryrefslogtreecommitdiff
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
parent6238b3896a297da808749aa3442383501274106d (diff)
downloadserenity-34eff055b260b0642a87150a1010f2071318a565.zip
Ports/brogue: Update brogue to version 1.11.1
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/brogue/package.sh14
2 files changed, 8 insertions, 8 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index a5e498b0b4..6b1332d062 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -17,7 +17,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`binutils`](binutils/) | GNU Binutils | 2.38 | https://www.gnu.org/software/binutils/ |
| [`bison`](bison/) | GNU Bison | 1.25 | https://www.gnu.org/software/bison/ |
| [`bochs`](bochs/) | Bochs x86 PC emulator | 2.7 | https://sourceforge.net/projects/bochs/ |
-| [`brogue`](brogue/) | BrogueCE | 1.10.1 | https://github.com/tmewett/BrogueCE |
+| [`brogue`](brogue/) | BrogueCE | 1.11.1 | https://github.com/tmewett/BrogueCE |
| [`byacc`](byacc/) | Berkeley Yacc | 20220128 | https://invisible-island.net/byacc/byacc.html |
| [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ |
| [`c-ray`](c-ray/) | C-Ray | 8f30eb9 | https://github.com/vkoskiv/c-ray |
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"
}