summaryrefslogtreecommitdiff
path: root/Ports/cmatrix/package.sh
blob: 0e2a91d7801f23e518794137d6e52a5235d7543f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env -S bash ../.port_include.sh
port=cmatrix
useconfigure=true
version=git
depends=("ncurses")
workdir=cmatrix-master
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip c32ca7562e58fb1fd7a96ebdfbe51c5de060709d39b67fce3c0bc42547e0ccb2"
auth_type=sha256
launcher_name=cmatrix
launcher_category=Games
launcher_command=cmatrix
launcher_run_in_terminal=true

configure() {
    run cmake "${configopts[@]}"
}

install() {
    run cp cmatrix "${SERENITY_INSTALL_ROOT}/bin"
}