From 4032bfc2fce5c9e8a10282dd7b6f81717e975dbe Mon Sep 17 00:00:00 2001 From: Beckett Normington Date: Sat, 24 Jun 2023 00:37:25 -0400 Subject: [PATCH] Ports: Add cbonsai port This commit modifies the port list and adds the package.sh script for `cbonsai`. --- Ports/AvailablePorts.md | 1 + Ports/cbonsai/package.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 Ports/cbonsai/package.sh diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index f405a515abd..bee2e974738 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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 | diff --git a/Ports/cbonsai/package.sh b/Ports/cbonsai/package.sh new file mode 100644 index 00000000000..7163285a7cd --- /dev/null +++ b/Ports/cbonsai/package.sh @@ -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/" +}