Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions srcpkgs/egctl/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Template file for 'egctl'
pkgname=egctl
version=1.8.0
revision=1
archs="x86_64* aarch64*"
build_style=go
go_import_path="github.com/envoyproxy/gateway"
go_package="${go_import_path}/cmd/egctl"
go_build_tags="exclude_graphdriver_btrfs"
short_desc="Command-line utility for operating Envoy Gateway"
maintainer="Aaron Duxler <aaron@duxler.at>"
license="Apache-2.0"
homepage="https://gateway.envoyproxy.io/"
distfiles="https://github.com/envoyproxy/gateway/archive/v${version}.tar.gz"
checksum=3b00403aa99eda90cc4d1194648640a71aff416a9447eae983278b0df04948e0

post_build() {
for shell in bash fish zsh; do
CGO_ENABLED=0 GOARCH="" go run cmd/egctl/main.go completion "$shell" \
>"completion.$shell"
done
}

post_install() {
for shell in bash fish zsh; do
vcompletion "completion.$shell" "$shell"
done
}