commit cd4fa51df2488c005af17ee66736089973bc275f Author: Lukas Grossar Date: Mon May 28 11:08:50 2018 +0200 initial release for v0.8.1 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..b258176 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ark-bin + pkgdesc = Backup client for Kubernetes + pkgver = 0.8.1 + pkgrel = 1 + url = https://github.com/heptio/ark + arch = x86_64 + license = Apache + optdepends = kubectl-bin: To connect to Kubernetes + source = https://github.com/heptio/ark/releases/download/v0.8.1/ark-v0.8.1-linux-amd64.tar.gz + sha256sums = 174650898e3c09b7055cf1696e7e3470e97df46651e4ac590c2bbd6e99bae4c1 + +pkgname = ark-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7dd204c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Lukas Grossar + +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" +}