diff options
author | Ivan Shapovalov | 2018-10-20 06:44:19 +0300 |
---|---|---|
committer | Ivan Shapovalov | 2018-10-20 06:45:00 +0300 |
commit | 9fcdd477aeab7c96b79ee0a72145afa20ad1aba2 (patch) | |
tree | d1894d1d29319a3095c2941c8b8a63504bef2ff2 | |
parent | d1b2872dd3da0db67a34782e65e3fd1ff532183a (diff) | |
download | aur-9fcdd477aeab7c96b79ee0a72145afa20ad1aba2.tar.gz |
Install completions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = kubecfg pkgdesc = A tool for managing complex enterprise Kubernetes environments as code pkgver = 0.9.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ksonnet/kubecfg arch = x86_64 license = Apache @@ -2,7 +2,7 @@ pkgname=kubecfg pkgver=0.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="A tool for managing complex enterprise Kubernetes environments as code" url="https://github.com/ksonnet/kubecfg" license=('Apache') @@ -25,4 +25,7 @@ build() { package() { install -Dm755 "$srcdir/src/github.com/ksonnet/kubecfg/kubecfg" -t "$pkgdir/usr/bin" + + "$pkgdir/usr/bin/kubecfg" completion --shell bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/kubecfg" + "$pkgdir/usr/bin/kubecfg" completion --shell zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_kubecfg" } |