diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-04-03 13:28:15 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-03 12:35:14 +0100 |
commit | d53c602e11dc8437a0f94e6e9b36a358a907f9d6 (patch) | |
tree | b31139d05004842ba93a607fd176f76a2ff3abc4 /Ports/stpuzzles/package.sh | |
parent | 563d11c9777fb2248efa816c0c7b6a65fa1fea18 (diff) | |
download | serenity-d53c602e11dc8437a0f94e6e9b36a358a907f9d6.zip |
Ports: Set `port` to match the port's directory
We currently have no valid use case for having a `port` property
different from the directory name the port's residing in. We do have
issues when this is the case when referencing dependencies, so let's
make sure all ports have a sensible `port` property to begin with.
Diffstat (limited to 'Ports/stpuzzles/package.sh')
-rwxr-xr-x | Ports/stpuzzles/package.sh | 6 |
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" |