New package: carapace-0.24.1

Closes: #39168 [via git-merge-pr]
This commit is contained in:
icp 2022-09-07 21:08:27 +05:30 committed by Duncaen
parent e6d37ea36a
commit b09551955a
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

27
srcpkgs/carapace/template Normal file
View file

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