summaryrefslogtreecommitdiff
path: root/Ports/cmatrix/package.sh
blob: ed0cefa3fd58acafc213736bacab73d46e70b77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env -S bash ../.port_include.sh
port=cmatrix
useconfigure=true
version=git
depends="ncurses"
workdir=cmatrix-master
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt"
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip"

configure() {
    run cmake $configopts
}

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