initial release for v0.8.1

This commit is contained in:
Lukas Grossar
2018-05-28 11:08:50 +02:00
commit cd4fa51df2
2 changed files with 34 additions and 0 deletions

21
PKGBUILD Normal file
View File

@@ -0,0 +1,21 @@
# Maintainer: Lukas Grossar <lukas.grossar@gmail.com>
pkgname=ark-bin
pkgver=0.8.1
pkgrel=1
pkgdesc="Backup client for Kubernetes"
arch=('x86_64')
url="https://github.com/heptio/ark"
optdepends=('kubectl-bin: To connect to Kubernetes')
license=('Apache')
source=("https://github.com/heptio/ark/releases/download/v${pkgver}/ark-v${pkgver}-linux-amd64.tar.gz")
sha256sums=('174650898e3c09b7055cf1696e7e3470e97df46651e4ac590c2bbd6e99bae4c1')
package() {
cd "$srcdir"
install -Dm 755 ark "$pkgdir/usr/bin/ark"
install -d 755 "$pkgdir/usr/share/bash-completion/completions"
"$pkgdir/usr/bin/ark" completion bash > "$pkgdir/usr/share/bash-completion/completions/ark"
install -d 755 "$pkgdir/usr/share/zsh/site-functions"
"$pkgdir/usr/bin/ark" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_ark"
}