# Maintainer: Lukas Grossar pkgname=kubernetes-helm pkgver=2.7.2 pkgrel=1 pkgdesc="A tool to manage Kubernetes charts" arch=('i686' 'x86_64') url="https://github.com/kubernetes/helm" depends=('socat') optdepends=('kubectl-bin: Check Kubernetes status') license=('Apache') source_i686=("https://kubernetes-helm.storage.googleapis.com/helm-v$pkgver-linux-386.tar.gz") source_x86_64=("https://kubernetes-helm.storage.googleapis.com/helm-v$pkgver-linux-amd64.tar.gz") sha512sums_i686=('17d4bdb8631add066a6f178c672bc0509c87542804ac752cd79e3d6304f19b13240011cb9aba6489bc6d194a801f69d23c89e17d64f6970818df34610e6e3ba1') sha512sums_x86_64=('92e35ebe032157085f6dfa7697dd220bb64bc86acaeb17bb5210b8d9ce68209f33b261559840a2bb0273a4527905dc3a74b9a8690e7b245c99f2cc457ec63116') package() { cd "$srcdir" install -Dm 755 linux-*/helm "$pkgdir/usr/bin/helm" install -d 755 "$pkgdir/usr/share/bash-completion/completions" "$pkgdir/usr/bin/helm" completion bash > "$pkgdir/usr/share/bash-completion/completions/helm" install -d 755 "$pkgdir/usr/share/zsh/site-functions" "$pkgdir/usr/bin/helm" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_helm" }