void-packages/srcpkgs/velero/template

23 lines
742 B
Bash

# Template file for 'velero'
pkgname=velero
version=1.14.1 # renovate vmware-tanzu/velero
revision=2
archs="x86_64* i686"
build_style=go
go_import_path="github.com/vmware-tanzu/velero"
go_package="./cmd/velero"
hostmakedepends="go"
short_desc="Tools to back up and restore Kubernetes resources and persistent volumes"
maintainer="Luca Bilke <luca@bil.ke>"
license="GPL-3.0-or-later"
homepage="https://velero.io/"
distfiles="https://github.com/vmware-tanzu/velero/archive/v${version}.tar.gz"
checksum=e292c4427d801b426a53e24cff10aed16de5bcbf2a5207edfee30d8c4d363135
post_install() {
for shell in bash zsh fish; do
${PKGDESTDIR}/usr/bin/${pkgname} completion "$shell" >"${pkgname}.$shell"
vcompletion "${pkgname}.$shell" "$shell"
done
}