stern: update to 1.22.0.
This commit is contained in:
parent
97208df952
commit
b84487f15a
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'stern'
|
# Template file for 'stern'
|
||||||
pkgname=stern
|
pkgname=stern
|
||||||
version=1.21.0
|
version=1.22.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/stern/stern"
|
go_import_path="github.com/stern/stern"
|
||||||
|
@ -9,7 +9,20 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/stern/stern"
|
homepage="https://github.com/stern/stern"
|
||||||
distfiles="https://github.com/stern/stern/archive/v${version}.tar.gz"
|
distfiles="https://github.com/stern/stern/archive/v${version}.tar.gz"
|
||||||
checksum=0ccf1375ee3c20508c37de288a46faa6b0e4dffb3a3749f4b699a30f95e861be
|
checksum=3726e3c6a0e8c2828bce7b67f9ee94ddbedcfbeeecf9e6ab42e23873e3f54161
|
||||||
|
|
||||||
# fix: collect2: fatal error: cannot find 'ld'
|
# fix: collect2: fatal error: cannot find 'ld'
|
||||||
LDFLAGS="-fuse-ld=bfd"
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue