Files
velero-bin/PKGBUILD
Toni Tauro 0502fb7c70 chore(update): v1.7.0
Signed-off-by: Toni Tauro <eye@eyenx.ch>
2021-10-04 17:42:13 +02:00

21 lines
797 B
Bash

# Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
pkgname=velero-bin
pkgver=1.7.0
pkgrel=1
pkgdesc="Backup client for Kubernetes"
arch=('x86_64')
url="https://github.com/vmware-tanzu/velero"
depends=('kubectl')
replaces=('ark-bin')
license=('Apache')
source=("https://github.com/vmware-tanzu/velero/releases/download/v${pkgver}/velero-v${pkgver}-linux-amd64.tar.gz")
sha256sums=('cc41773836f89b04ae75e88e18bd9b8d60bfd60b91be4307dd40d34aebe8b1d9')
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"
}