Skip to content

Commit 9c87863

Browse files
committed
New package: egctl-1.8.0
1 parent 3004512 commit 9c87863

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

srcpkgs/egctl/template

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Template file for 'egctl'
2+
pkgname=egctl
3+
version=1.8.0
4+
revision=1
5+
archs="x86_64* aarch64*"
6+
build_style=go
7+
go_import_path="github.com/envoyproxy/gateway"
8+
go_package="${go_import_path}/cmd/egctl"
9+
go_build_tags="exclude_graphdriver_btrfs"
10+
short_desc="Command-line utility for operating Envoy Gateway"
11+
maintainer="Aaron Duxler <aaron@duxler.at>"
12+
license="Apache-2.0"
13+
homepage="https://gateway.envoyproxy.io/"
14+
distfiles="https://github.com/envoyproxy/gateway/archive/v${version}.tar.gz"
15+
checksum=3b00403aa99eda90cc4d1194648640a71aff416a9447eae983278b0df04948e0
16+
17+
post_build() {
18+
for shell in bash fish zsh; do
19+
CGO_ENABLED=0 GOARCH="" go run cmd/egctl/main.go completion "$shell" \
20+
>"completion.$shell"
21+
done
22+
}
23+
24+
post_install() {
25+
for shell in bash fish zsh; do
26+
vcompletion "completion.$shell" "$shell"
27+
done
28+
}

0 commit comments

Comments
 (0)