Ports: Add Simon Tatham's Puzzle Collection

This commit is contained in:
Egor Ananyin 2021-05-31 19:36:16 +03:00 committed by Linus Groh
parent 10c747f2be
commit ed89cd93aa
Notes: sideshowbarker 2024-07-18 17:06:06 +09:00
2 changed files with 17 additions and 0 deletions

View file

@ -116,6 +116,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`sed`](sed/) | GNU sed | 4.2.1 | https://www.gnu.org/software/sed/ |
| [`sl`](sl/) | Steam Locomotive (SL) | | https://github.com/mtoyoda/sl |
| [`sqlite`](sqlite/) | SQLite | 3350300 | https://www.sqlite.org/ |
| [`stpuzzles`](stpuzzles/) | Simon Tatham's Portable Puzzle Collection | | https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ |
| [`stress-ng`](stress-ng/) | stress-ng | 0.11.23 | https://github.com/ColinIanKing/stress-ng |
| [`Super-Mario`](Super-Mario/) | Super-Mario Clone | | https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp |
| [`tcl`](tcl/) | Tcl | 8.6.11 | https://www.tcl-lang.org/ |

16
Ports/stpuzzles/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=SimonTathamsPuzzles
useconfigure=true
version=git
workdir=stpuzzles-main
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/SerenityOS/stpuzzles/archive/refs/heads/main.zip stpuzzles.zip 425addbfa4949f6f7341f476359789a33f3826c50f3dc2f6aa734c423a8926e7"
auth_type=sha256
configure() {
run cmake $configopts -DCMAKE_CXX_FLAGS="-std=c++2a -O2"
}
install() {
run make install
}