File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Template file for 'crush'
2+ pkgname=crush
3+ version=0.20.1
4+ revision=1
5+ build_style=go
6+ go_import_path=github.com/charmbracelet/crush
7+ short_desc="Glamourous AI coding agent for your favourite terminal"
8+ maintainer="zenobit <zenobit@disroot.org>"
9+ license="FSL-1.1-MIT"
10+ homepage="https://github.com/charmbracelet/crush"
11+ changelog="https://github.com/charmbracelet/crush/releases"
12+ distfiles="https://github.com/charmbracelet/crush/archive/refs/tags/v${version}.tar.gz"
13+ checksum=b654bb09ca5cd662aae176ee22bf63db3ce879b5158031f0e52d2f2f16112ebb
14+ repository=nonfree
15+ make_check=no # No tests provided
16+
17+ do_build() {
18+ go build -ldflags="-w -s -buildid='' -linkmode=external -X github.com/charmbracelet/crush/internal/version.Version=v${version}" .
19+ }
20+
21+ post_install() {
22+ vbin crush
23+ for shell in bash zsh fish; do
24+ CGO_ENABLED=0 GOARCH= go run . completion ${shell} > crush.${shell}
25+ vcompletion crush.${shell} ${shell}
26+ done
27+
28+ CGO_ENABLED=0 GOARCH= go run . man > crush.1
29+ vman crush.1
30+
31+ vlicense LICENSE.md
32+ }
You can’t perform that action at this time.
0 commit comments