Skip to content

Commit 3f2546b

Browse files
committed
New package: egctl-1.8.0
1 parent 3004512 commit 3f2546b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

srcpkgs/egctl/template

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

0 commit comments

Comments
 (0)