2021-04-03 14:38:52 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-08-13 08:11:42 +00:00
|
|
|
port='cmatrix'
|
|
|
|
useconfigure='true'
|
|
|
|
version='3112b127babe72d2222059edd2d7eb7fb8bddfb1'
|
|
|
|
depends=(
|
|
|
|
'ncurses'
|
|
|
|
)
|
|
|
|
configopts=(
|
|
|
|
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
|
|
)
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz#a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2023-08-13 08:11:42 +00:00
|
|
|
launcher_name='cmatrix'
|
2024-01-03 19:34:07 +00:00
|
|
|
launcher_category='&Games'
|
2023-08-13 08:01:59 +00:00
|
|
|
launcher_command='/usr/local/bin/cmatrix'
|
2023-08-13 08:11:42 +00:00
|
|
|
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() {
|
2023-08-13 08:01:59 +00:00
|
|
|
mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
|
|
|
run cp cmatrix "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
2021-04-03 14:38:52 +00:00
|
|
|
}
|