summaryrefslogtreecommitdiff
path: root/Ports/cmatrix/package.sh
blob: 129936538ffa15885e61f4a9299c43438593fbc0 (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_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip 2541321b89149b375d5732402e52d654"
auth_type=md5
launcher_name=cmatrix
launcher_category=Games
launcher_command="Terminal -e cmatrix"

configure() {
    run cmake $configopts
}

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