Date: Thursday, July 2, 2020 @ 21:41:53 Author: shibumi Revision: 657549
upgpkg: kubectx 0.9.1-1 fix #66284 Add fish completions Modified: kubectx/trunk/PKGBUILD ----------+ PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-07-02 21:41:36 UTC (rev 657548) +++ PKGBUILD 2020-07-02 21:41:53 UTC (rev 657549) @@ -2,7 +2,7 @@ # Contributor: Ian Beringer <i...@ianberinger.com> pkgname=kubectx -pkgver=0.9.0 +pkgver=0.9.1 pkgrel=1 license=('Apache') pkgdesc='Utility to manage and switch between kubectl contexts and Kubernetes namespaces' @@ -11,7 +11,7 @@ arch=('any') url='https://github.com/ahmetb/kubectx' source=("${url}/archive/v${pkgver}.tar.gz") -sha512sums=('ac9b5258c23d07ee1ab1d3017645bb0588c7da8537c63b330b01039fb86164af41d2e37adb1e0619acf49e4265ee1ad4ed1d4a59e7ec878f78aa75e6da0dd829') +sha512sums=('f9872bb2a0a354d6e4b07715dea434482fb61f34914354d0d458e723d87b41e09eb94fb302185631700aad09a29268e00925016fa1b2d4c80f30402f35b6e6e4') provides=('kubectx' 'kubens') package() { @@ -20,11 +20,13 @@ install -D -p -m 755 ./kubectx "${pkgdir}/usr/share/${pkgname}/kubectx" install -D -p -m 755 ./kubens "${pkgdir}/usr/share/${pkgname}/kubens" - # completion for bash & zsh + # completion for bash & zsh & fish install -D -p -m 644 ./completion/kubectx.bash "${pkgdir}/usr/share/bash-completion/completions/kubectx" install -D -p -m 644 ./completion/kubens.bash "${pkgdir}/usr/share/bash-completion/completions/kubens" install -D -p -m 644 ./completion/kubectx.zsh "${pkgdir}/usr/share/zsh/site-functions/_kubectx" install -D -p -m 644 ./completion/kubens.zsh "${pkgdir}/usr/share/zsh/site-functions/_kubens" + install -D -p -m 644 ./completion/kubectx.fish "${pkgdir}/usr/share/fish/vendor_completions.d/kubectx.fish" + install -D -p -m 644 ./completion/kubens.fish "${pkgdir}/usr/share/fish/vendor_completions.d/kubens.fish" # symlink binaries mkdir "${pkgdir}/usr/bin"