From eaf9231a0f7d082fd3871c58fd4191c297c5d940 Mon Sep 17 00:00:00 2001 From: Lukas Grossar Date: Thu, 21 Feb 2019 16:02:49 +0100 Subject: [PATCH] rename to velero-bin and upgrade to v0.11.0 --- .SRCINFO | 14 ++++++++------ PKGBUILD | 18 ++++++++++-------- velero-bin.install | 4 ++++ 3 files changed, 22 insertions(+), 14 deletions(-) create mode 100644 velero-bin.install diff --git a/.SRCINFO b/.SRCINFO index 1bda1ff..5f3b941 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,14 +1,16 @@ -pkgbase = ark-bin +pkgbase = velero-bin pkgdesc = Backup client for Kubernetes - pkgver = 0.10.1 + pkgver = 0.11.0 pkgrel = 1 - url = https://github.com/heptio/ark + url = https://github.com/heptio/velero + install = velero-bin.install arch = x86_64 license = Apache optdepends = kubectl: To connect to Kubernetes optdepends = kubectl-bin: To connect to Kubernetes - source = https://github.com/heptio/ark/releases/download/v0.10.1/ark-v0.10.1-linux-amd64.tar.gz - sha256sums = 29cdc7abc0dbdaafdd2c4999e8eeda71fcefff188d3ed5e6a06cb9625e70da3d + replaces = ark-bin + source = https://github.com/heptio/velero/releases/download/v0.11.0/velero-v0.11.0-linux-amd64.tar.gz + sha256sums = d7398c35d6f8c26b7159c254da93afc8a45e785c815cce7b4938af6fd508932e -pkgname = ark-bin +pkgname = velero-bin diff --git a/PKGBUILD b/PKGBUILD index 6d890bb..55d2df2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,22 +1,24 @@ # Maintainer: Lukas Grossar -pkgname=ark-bin -pkgver=0.10.1 +pkgname=velero-bin +pkgver=0.11.0 pkgrel=1 pkgdesc="Backup client for Kubernetes" arch=('x86_64') -url="https://github.com/heptio/ark" +url="https://github.com/heptio/velero" optdepends=( 'kubectl: To connect to Kubernetes' 'kubectl-bin: To connect to Kubernetes' ) +replaces=('ark-bin') +install="velero-bin.install" license=('Apache') -source=("https://github.com/heptio/ark/releases/download/v${pkgver}/ark-v${pkgver}-linux-amd64.tar.gz") -sha256sums=('29cdc7abc0dbdaafdd2c4999e8eeda71fcefff188d3ed5e6a06cb9625e70da3d') +source=("https://github.com/heptio/velero/releases/download/v${pkgver}/velero-v${pkgver}-linux-amd64.tar.gz") +sha256sums=('d7398c35d6f8c26b7159c254da93afc8a45e785c815cce7b4938af6fd508932e') package() { - install -Dm 755 "$srcdir/ark" -t "$pkgdir/usr/bin" + install -Dm 755 "$srcdir/velero" -t "$pkgdir/usr/bin" - "$pkgdir/usr/bin/ark" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/ark" - "$pkgdir/usr/bin/ark" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_ark" + "$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" } diff --git a/velero-bin.install b/velero-bin.install new file mode 100644 index 0000000..bdb55bf --- /dev/null +++ b/velero-bin.install @@ -0,0 +1,4 @@ +post_upgrade() { + echo ">>> For instructions on how to upgrade from ark to velero see:" + echo ">>> https://heptio.github.io/velero/v0.11.0/migrating-to-velero" +}