ladybird/Ports/cmatrix/package.sh
EWouters 2b5c377781 Ports/cmatrix: Fix hash and update version
The download links to the master branch of a repository, hence the
hash doesn't match anymore. Now setup to download a new version
with a known hash.
2021-11-06 00:42:02 -07:00

21 lines
621 B
Bash
Executable File

#!/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")
files="https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz ${port}-${version}.tar.gz a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87"
auth_type=sha256
launcher_name=cmatrix
launcher_category=Games
launcher_command=cmatrix
launcher_run_in_terminal=true
configure() {
run cmake "${configopts[@]}"
}
install() {
run cp cmatrix "${SERENITY_INSTALL_ROOT}/bin"
}