k9s: rework completions
This commit is contained in:
parent
c0334a1169
commit
6bb3c70d3c
|
@ -15,9 +15,14 @@ checksum=597fa2c547437070a8993d1fb6fce91d696bd3731d37230feace3a2d3bfdb198
|
|||
# fix: collect2: fatal error: cannot find 'ld'
|
||||
export LDFLAGS="-fuse-ld=bfd"
|
||||
|
||||
post_install() {
|
||||
post_build() {
|
||||
for shell in bash zsh fish; do
|
||||
${PKGDESTDIR}/usr/bin/${pkgname} completion "$shell" >"${pkgname}.$shell"
|
||||
vcompletion "${pkgname}.$shell" "$shell"
|
||||
_build-k9s-xbps/bin/k9s completion $shell >k9s.$shell
|
||||
done
|
||||
}
|
||||
|
||||
post_install() {
|
||||
for shell in bash zsh fish; do
|
||||
vcompletion k9s.$shell $shell
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue