serenity/Ports/cmatrix/package.sh

22 lines
586 B
Bash
Raw Normal View History

2021-04-03 14:38:52 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
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=(
"https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87"
2023-07-10 11:10:29 +00:00
)
launcher_name=cmatrix
launcher_category=Games
launcher_command=cmatrix
launcher_run_in_terminal=true
2021-04-03 14:38:52 +00:00
configure() {
run cmake "${configopts[@]}"
2021-04-03 14:38:52 +00:00
}
install() {
run cp cmatrix "${SERENITY_INSTALL_ROOT}/bin"
2021-04-03 14:38:52 +00:00
}