1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 14:57:35 +00:00

Ports: Add cbonsai port

This commit modifies the port list and adds the package.sh script
for `cbonsai`.
This commit is contained in:
Beckett Normington 2023-06-24 00:37:25 -04:00 committed by Sam Atkins
parent 8b34af816e
commit 4032bfc2fc
2 changed files with 14 additions and 0 deletions

13
Ports/cbonsai/package.sh Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='cbonsai'
version='1.3.1'
files="https://gitlab.com/jallbrit/cbonsai/-/archive/v${version}/cbonsai-v${version}.tar cbonsai-v${version}.tar.bz2 686e4af58f8e44e09b689da6e9a98a404fc0a779da7c7da1a5403283e0e471d8"
auth_type='sha256'
workdir="cbonsai-v${version}"
makeopts+=(CC="${CC}")
depends=("ncurses")
install() {
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin/"
run cp cbonsai "${SERENITY_INSTALL_ROOT}/usr/local/bin/"
}