rename to velero-bin and upgrade to v0.11.0
This commit is contained in:
14
.SRCINFO
14
.SRCINFO
@@ -1,14 +1,16 @@
|
|||||||
pkgbase = ark-bin
|
pkgbase = velero-bin
|
||||||
pkgdesc = Backup client for Kubernetes
|
pkgdesc = Backup client for Kubernetes
|
||||||
pkgver = 0.10.1
|
pkgver = 0.11.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/heptio/ark
|
url = https://github.com/heptio/velero
|
||||||
|
install = velero-bin.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache
|
license = Apache
|
||||||
optdepends = kubectl: To connect to Kubernetes
|
optdepends = kubectl: To connect to Kubernetes
|
||||||
optdepends = kubectl-bin: 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
|
replaces = ark-bin
|
||||||
sha256sums = 29cdc7abc0dbdaafdd2c4999e8eeda71fcefff188d3ed5e6a06cb9625e70da3d
|
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
|
||||||
|
|
||||||
|
|||||||
18
PKGBUILD
18
PKGBUILD
@@ -1,22 +1,24 @@
|
|||||||
# Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
|
# Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
|
||||||
|
|
||||||
pkgname=ark-bin
|
pkgname=velero-bin
|
||||||
pkgver=0.10.1
|
pkgver=0.11.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Backup client for Kubernetes"
|
pkgdesc="Backup client for Kubernetes"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/heptio/ark"
|
url="https://github.com/heptio/velero"
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'kubectl: To connect to Kubernetes'
|
'kubectl: To connect to Kubernetes'
|
||||||
'kubectl-bin: To connect to Kubernetes'
|
'kubectl-bin: To connect to Kubernetes'
|
||||||
)
|
)
|
||||||
|
replaces=('ark-bin')
|
||||||
|
install="velero-bin.install"
|
||||||
license=('Apache')
|
license=('Apache')
|
||||||
source=("https://github.com/heptio/ark/releases/download/v${pkgver}/ark-v${pkgver}-linux-amd64.tar.gz")
|
source=("https://github.com/heptio/velero/releases/download/v${pkgver}/velero-v${pkgver}-linux-amd64.tar.gz")
|
||||||
sha256sums=('29cdc7abc0dbdaafdd2c4999e8eeda71fcefff188d3ed5e6a06cb9625e70da3d')
|
sha256sums=('d7398c35d6f8c26b7159c254da93afc8a45e785c815cce7b4938af6fd508932e')
|
||||||
|
|
||||||
package() {
|
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/velero" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/velero"
|
||||||
"$pkgdir/usr/bin/ark" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_ark"
|
"$pkgdir/usr/bin/velero" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_velero"
|
||||||
}
|
}
|
||||||
|
|||||||
4
velero-bin.install
Normal file
4
velero-bin.install
Normal 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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user