2021-04-03 14:38:52 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=cmatrix
|
|
|
|
useconfigure=true
|
|
|
|
version=git
|
2021-09-26 22:16:18 +00:00
|
|
|
depends=("ncurses")
|
2021-04-03 14:38:52 +00:00
|
|
|
workdir=cmatrix-master
|
2021-09-26 22:16:18 +00:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
2021-04-25 10:20:15 +00:00
|
|
|
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip c32ca7562e58fb1fd7a96ebdfbe51c5de060709d39b67fce3c0bc42547e0ccb2"
|
|
|
|
auth_type=sha256
|
2021-04-20 16:36:03 +00:00
|
|
|
launcher_name=cmatrix
|
|
|
|
launcher_category=Games
|
2021-07-19 21:08:08 +00:00
|
|
|
launcher_command=cmatrix
|
|
|
|
launcher_run_in_terminal=true
|
2021-04-03 14:38:52 +00:00
|
|
|
|
|
|
|
configure() {
|
2021-09-26 22:16:18 +00:00
|
|
|
run cmake "${configopts[@]}"
|
2021-04-03 14:38:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2021-04-20 15:42:04 +00:00
|
|
|
run cp cmatrix "${SERENITY_INSTALL_ROOT}/bin"
|
2021-04-03 14:38:52 +00:00
|
|
|
}
|