From dd38436f02d4e955a49327ad37525f2a5f2787fb Mon Sep 17 00:00:00 2001 From: icp Date: Wed, 7 Sep 2022 21:08:27 +0530 Subject: [PATCH] New package: carapace-0.15.0 --- srcpkgs/carapace/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/carapace/template diff --git a/srcpkgs/carapace/template b/srcpkgs/carapace/template new file mode 100644 index 000000000000..d92f844a0be0 --- /dev/null +++ b/srcpkgs/carapace/template @@ -0,0 +1,22 @@ +# Template file for 'carapace' +pkgname=carapace +version=0.15.0 +revision=1 +wrksrc="carapace-bin-${version}" +build_style=go +go_import_path="github.com/rsteube/carapace-bin" +go_package="./cmd/carapace" +short_desc="Multi-shell multi-command argument completer" +maintainer="icp " +license="MIT" +homepage="https://github.com/rsteube/carapace-bin" +distfiles="https://github.com/rsteube/carapace-bin/archive/refs/tags/v${version}.tar.gz" +checksum=980a0380824c0fcf344957b37a1fa7e201934fbfee417bdd421a68b291f33b6a + +pre_build() { + GOARCH= go generate ./cmd/... +} + +post_install() { + vlicense LICENSE +}