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
Notes: sideshowbarker 2024-07-17 02:08:15 +09:00
2 changed files with 14 additions and 0 deletions

View file

@ -31,6 +31,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`c-ray`](c-ray/) | C-Ray | 8f30eb9 | https://github.com/vkoskiv/c-ray |
| [`ca-certificates`](ca-certificates/) | Mozilla CA certificate store | 2022-04-26 | https://curl.se/docs/caextract.html |
| [`carl`](carl/) | Crypto Ancienne Resource Loader | 1.5 | https://github.com/classilla/cryanc |
| [`cbonsai`](cbonsai/) | cbonsai | 1.3.1 | https://gitlab.com/jallbrit/cbonsai |
| [`ccache`](ccache/) | ccache | 4.6.3 | https://ccache.dev/ |
| [`cfunge`](cfunge/) | cfunge | 2bc4fb2 | https://github.com/VorpalBlade/cfunge/ |
| [`chester`](chester/) | Chester Gameboy Emulator | | https://github.com/veikkos/chester |

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/"
}