1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:57:34 +00:00

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
2 changed files with 17 additions and 0 deletions

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
}