2024-06-03 22:40:16 +02:00
|
|
|
# Template file for 'velero'
|
|
|
|
pkgname=velero
|
2024-11-06 05:02:00 +01:00
|
|
|
version=1.15.0 # renovate vmware-tanzu/velero
|
2024-06-03 22:40:16 +02:00
|
|
|
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
|
|
|
|
}
|