rename to velero-bin and upgrade to v0.11.0

This commit is contained in:
Lukas Grossar
2019-02-21 16:02:49 +01:00
parent a41aac97d6
commit eaf9231a0f
3 changed files with 22 additions and 14 deletions

View File

@@ -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

View File

@@ -1,22 +1,24 @@
# Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
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"
}

4
velero-bin.install Normal file
View File

@@ -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"
}