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 '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+ }
You can’t perform that action at this time.
0 commit comments