-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathtemplate
More file actions
28 lines (25 loc) · 763 Bytes
/
template
File metadata and controls
28 lines (25 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'stern'
pkgname=stern
version=1.34.0
revision=1
build_style=go
go_import_path="github.com/stern/stern"
short_desc="Multi pod and container log tailing for Kubernetes"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/stern/stern"
distfiles="https://github.com/stern/stern/archive/v${version}.tar.gz"
checksum=1cfec22cef9705e68fc46060ba85164af12bd07ede9264bafb67d11400996e71
# fix: collect2: fatal error: cannot find 'ld'
export LDFLAGS="-fuse-ld=bfd"
post_build() {
for shell in bash fish zsh; do
CGO_ENABLED=0 GOARCH="" go run main.go --completion "$shell" \
>"completion.$shell"
done
}
post_install() {
for shell in bash fish zsh; do
vcompletion "completion.$shell" "$shell"
done
}