stern: fix version flag

This commit is contained in:
Aaron Duxler
2026-06-03 11:42:14 -04:00
committed by classabbyamp
parent df272ddfc8
commit cf4a458c4f
+6 -3
View File
@@ -1,9 +1,13 @@
# Template file for 'stern'
pkgname=stern
version=1.34.0
revision=1
revision=2
build_style=go
go_import_path="github.com/stern/stern"
go_ldflags="-X github.com/stern/stern/cmd.version=${version}
-X github.com/stern/stern/cmd.date=$(date --date @$SOURCE_DATE_EPOCH +%Y-%m-%dT%H:%M:%SZ)
-linkmode=external
-compressdwarf=false"
short_desc="Multi pod and container log tailing for Kubernetes"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
@@ -11,8 +15,7 @@ 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"
make_check_args="-skip=TestSternCommand"
post_build() {
for shell in bash fish zsh; do