summaryrefslogtreecommitdiff
path: root/Ports/stpuzzles/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/stpuzzles/package.sh')
-rwxr-xr-xPorts/stpuzzles/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/stpuzzles/package.sh b/Ports/stpuzzles/package.sh
index 909521cddd..a2dc63129b 100755
--- a/Ports/stpuzzles/package.sh
+++ b/Ports/stpuzzles/package.sh
@@ -1,10 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
-port=SimonTathamsPuzzles
+port=stpuzzles
useconfigure=true
version=git
-workdir=stpuzzles-main
+workdir="${port}-main"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
-files="https://github.com/SerenityPorts/stpuzzles/archive/refs/heads/main.zip stpuzzles.zip"
+files="https://github.com/SerenityPorts/stpuzzles/archive/refs/heads/main.zip ${port}.zip"
configure() {
run cmake "${configopts[@]}" -DCMAKE_CXX_FLAGS="-std=c++2a -O2"