diff options
author | Egor Ananyin <ananinegor@gmail.com> | 2021-05-31 19:36:16 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-31 18:44:56 +0100 |
commit | ed89cd93aa254dae8395fd7afb3668158e181056 (patch) | |
tree | 7ec5726cda4a27768d04d1b0c2f3711fbc134786 /Ports | |
parent | 10c747f2bea3244470dccc78d4cec47fb447a675 (diff) | |
download | serenity-ed89cd93aa254dae8395fd7afb3668158e181056.zip |
Ports: Add Simon Tatham's Puzzle Collection
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/stpuzzles/package.sh | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 50f1050317..9069f5bcaf 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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/ | diff --git a/Ports/stpuzzles/package.sh b/Ports/stpuzzles/package.sh new file mode 100755 index 0000000000..b30b02dfa7 --- /dev/null +++ b/Ports/stpuzzles/package.sh @@ -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 +} |