void-packages/srcpkgs/carapace/template
Fabian Gietzen e73d2cda42
carapace: update to 1.2.1
Closes: #54293 [via git-merge-pr]
2025-02-17 22:37:30 -05:00

26 lines
772 B
Bash

# Template file for 'carapace'
pkgname=carapace
version=1.2.1
revision=1
build_style=go
go_import_path=github.com/carapace-sh/carapace-bin
go_package="${go_import_path}/cmd/carapace"
go_build_tags="release"
go_ldflags="-X main.version=${version}"
make_check_target="./cmd/carapace/..."
short_desc="Multi-shell multi-command argument completer"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://carapace.sh/"
changelog="https://carapace-sh.github.io/carapace-bin/release_notes.html"
distfiles="https://github.com/carapace-sh/carapace-bin/archive/refs/tags/v${version}.tar.gz"
checksum=7eebc2b3f7ac4fb5641612343ce813b2f7e1c0fffd1251255542e9bfbf9ed207
pre_build() {
CGO_ENABLED=0 GOARCH= go generate ./cmd/...
}
post_install() {
vlicense LICENSE
}