From 7547238b51762d048a2cc7e6c8cde50b2d773bc6 Mon Sep 17 00:00:00 2001 From: BlackScorp Date: Sat, 5 Dec 2026 00:23:18 +0100 Subject: [PATCH] void/crush: new package at 0.105.0 Co-authored-by: DeepSeek --- void/srcpkgs/crush/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 void/srcpkgs/crush/template diff --git a/void/srcpkgs/crush/template b/void/srcpkgs/crush/template new file mode 100644 index 0000000..7247f91 --- /dev/null +++ b/void/srcpkgs/crush/template @@ -0,0 +1,28 @@ +# Template file for 'crush' +pkgname=crush +version=0.105.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path=github.com/charmbracelet/crush +go_ldflags="-X ${go_import_path}/internal/version.Version=${version}" +checkdepends="git" +short_desc="Terminal coding agent from Charm" +maintainer="BlackScorp " +license="FSL-1.1-MIT" +homepage="https://github.com/charmbracelet/crush" +distfiles="https://github.com/charmbracelet/crush/archive/refs/tags/v${version}.tar.gz" +checksum=077854a4c4e0dc0714a44125592b3d7adfeb4467bb1d749c9bc719af4e146aa5 + +export CGO_ENABLED=0 + +post_install() { + vlicense LICENSE.md + + for shell in bash fish zsh; do + vtargetrun ${DESTDIR}/usr/bin/crush completion ${shell} > crush.${shell} + vcompletion crush.${shell} ${shell} + done + vtargetrun ${DESTDIR}/usr/bin/crush man > crush.1 + vman crush.1 +}