From 76e93aeee565bb141c817b443bc61ce16b7ce21b Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Fri, 24 May 2024 13:56:24 +0200 Subject: [PATCH] New package: velero --- srcpkgs/velero/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/velero/template diff --git a/srcpkgs/velero/template b/srcpkgs/velero/template new file mode 100644 index 00000000000..27c71f22a44 --- /dev/null +++ b/srcpkgs/velero/template @@ -0,0 +1,21 @@ +# Template file for 'velero' +pkgname=velero +version=1.13.2 +revision=1 +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 " +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/velero completion "$shell" >"velero.$shell" + vcompletion "velero.$shell" "$shell" + done +}