# Maintainer: Lukas Grossar pkgname=ark-bin pkgver=0.9.8 pkgrel=1 pkgdesc="Backup client for Kubernetes" arch=('x86_64') url="https://github.com/heptio/ark" optdepends=( 'kubectl: To connect to Kubernetes' 'kubectl-bin: To connect to Kubernetes' ) license=('Apache') source=("https://github.com/heptio/ark/releases/download/v${pkgver}/ark-v${pkgver}-linux-amd64.tar.gz") sha256sums=('cc03f8f38a5fcb1097c6d2abd4f8041443ec8eab2ab5d72293f17dbe7b3a0993') package() { install -Dm 755 "$srcdir/ark" -t "$pkgdir/usr/bin" "$pkgdir/usr/bin/ark" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/ark" "$pkgdir/usr/bin/ark" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_ark" }