[arch-commits] Commit in k9s/trunk (PKGBUILD)

Morten Linderud foxboron at gemini.archlinux.org
Sat Oct 9 12:32:07 UTC 2021


    Date: Saturday, October 9, 2021 @ 12:32:07
  Author: foxboron
Revision: 1029146

upgpkg: k9s 0.24.15-2 - FS#72088: Add completion

Modified:
  k9s/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-09 11:58:35 UTC (rev 1029145)
+++ PKGBUILD	2021-10-09 12:32:07 UTC (rev 1029146)
@@ -3,7 +3,7 @@
 
 pkgname=k9s
 pkgver=0.24.15
-pkgrel=1
+pkgrel=2
 pkgdesc='TUI for managing Kubernetes clusters and pods'
 arch=(x86_64)
 url='https://github.com/derailed/k9s'
@@ -34,6 +34,9 @@
 
 package() {
   cd $pkgname
+  exes/k9s completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/k9s"
+  exes/k9s completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_k9s"
+  exes/k9s completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/k9s.fish"
   install -Dm755 "execs/$pkgname" "$pkgdir/usr/bin/$pkgname"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list