upgrade to v0.9.8

This commit is contained in:
Lukas Grossar
2018-10-19 14:32:44 +02:00
parent 1a685eac83
commit 94efcf1739
2 changed files with 14 additions and 12 deletions

View File

@@ -1,13 +1,14 @@
pkgbase = ark-bin pkgbase = ark-bin
pkgdesc = Backup client for Kubernetes pkgdesc = Backup client for Kubernetes
pkgver = 0.9.7 pkgver = 0.9.8
pkgrel = 1 pkgrel = 1
url = https://github.com/heptio/ark url = https://github.com/heptio/ark
arch = x86_64 arch = x86_64
license = Apache license = Apache
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.9.7/ark-v0.9.7-linux-amd64.tar.gz source = https://github.com/heptio/ark/releases/download/v0.9.8/ark-v0.9.8-linux-amd64.tar.gz
sha256sums = e1366ee0e1ceb027664039d69fa8e130677168c762b946bc51c59e220088539e sha256sums = cc03f8f38a5fcb1097c6d2abd4f8041443ec8eab2ab5d72293f17dbe7b3a0993
pkgname = ark-bin pkgname = ark-bin

View File

@@ -1,21 +1,22 @@
# Maintainer: Lukas Grossar <lukas.grossar@gmail.com> # Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
pkgname=ark-bin pkgname=ark-bin
pkgver=0.9.7 pkgver=0.9.8
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/ark"
optdepends=('kubectl-bin: To connect to Kubernetes') optdepends=(
'kubectl: To connect to Kubernetes'
'kubectl-bin: To connect to Kubernetes'
)
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/ark/releases/download/v${pkgver}/ark-v${pkgver}-linux-amd64.tar.gz")
sha256sums=('e1366ee0e1ceb027664039d69fa8e130677168c762b946bc51c59e220088539e') sha256sums=('cc03f8f38a5fcb1097c6d2abd4f8041443ec8eab2ab5d72293f17dbe7b3a0993')
package() { package() {
cd "$srcdir" install -Dm 755 "$srcdir/ark" -t "$pkgdir/usr/bin"
install -Dm 755 ark "$pkgdir/usr/bin/ark"
install -dm 755 "$pkgdir/usr/share/bash-completion/completions" "$pkgdir/usr/bin/ark" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/ark"
"$pkgdir/usr/bin/ark" completion bash > "$pkgdir/usr/share/bash-completion/completions/ark" "$pkgdir/usr/bin/ark" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_ark"
install -dm 755 "$pkgdir/usr/share/zsh/site-functions"
"$pkgdir/usr/bin/ark" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_ark"
} }