Skip to content

Commit 16bee94

Browse files
committed
New package: crush-0.10.4
1 parent 34f0418 commit 16bee94

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

srcpkgs/crush/template

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Template file for 'crush'
2+
pkgname=crush
3+
version=0.10.4
4+
revision=1
5+
build_style=go
6+
go_import_path=github.com/charmbracelet/crush
7+
go_ldflags="-X github.com/charmbracelet/crush/internal/version.Version=v${version}"
8+
short_desc="Glamourous AI coding agent for your favourite terminal"
9+
maintainer="zenobit <zenobit@disroot.org>"
10+
license="FSL-1.1-MIT"
11+
homepage="https://github.com/charmbracelet/crush"
12+
changelog="https://github.com/charmbracelet/crush/releases"
13+
distfiles="https://github.com/charmbracelet/crush/archive/refs/tags/v${version}.tar.gz"
14+
checksum=24074bbf98871966061ca364458d6dfa0c319dcd7910437cc3dcc9911e90113b
15+
repository=nonfree
16+
17+
post_install() {
18+
for shell in bash zsh fish; do
19+
CGO_ENABLED=0 GOARCH= go run . completion ${shell} > crush.${shell}
20+
vcompletion crush.${shell} ${shell}
21+
done
22+
23+
CGO_ENABLED=0 GOARCH= go run . man > crush.1
24+
vman crush.1
25+
26+
vlicense LICENSE.md
27+
}

0 commit comments

Comments
 (0)