Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions srcpkgs/crush/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Template file for 'crush'
pkgname=crush
version=0.10.4
revision=1
build_style=go
go_import_path=github.com/charmbracelet/crush
go_ldflags="-X github.com/charmbracelet/crush/internal/version.Version=${version}"
short_desc="Glamourous AI coding agent for your favourite terminal"
maintainer="Gustavo Vinícios de Souza <gnsfujiwara@disroot.org>"
license="FSL-1.1-MIT"
homepage="https://charm.sh/crush"
distfiles="https://github.com/charmbracelet/crush/archive/refs/tags/v${version}.tar.gz"
checksum=24074bbf98871966061ca364458d6dfa0c319dcd7910437cc3dcc9911e90113b

post_install() {
for shell in bash zsh fish; do
CGO_ENABLED=0 GOARCH= go run . completion ${shell} > crush.${shell}
vcompletion crush.${shell} ${shell}
done

CGO_ENABLED=0 GOARCH= go run . man > crush.1
vman crush.1

vlicense LICENSE.md
}