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