diff --git a/srcpkgs/k9s/template b/srcpkgs/k9s/template index 2552de45b53..eb361efff77 100644 --- a/srcpkgs/k9s/template +++ b/srcpkgs/k9s/template @@ -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 }