blob: 06abefe6fb73b6011c1472f6bd3c6b029581d765 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# kubecfg-bin
# Maintainer: cannon < user on aur.archlinux.org >
pkgname=kubecfg-bin
pkgver=0.34.3
pkgrel=1
pkgdesc="A tool for managing complex enterprise Kubernetes environments as code"
url="https://github.com/kubecfg/kubecfg"
license=('Apache')
arch=('x86_64')
makedepends=('git' 'go')
source=("${pkgname}-${pkgver}::https://github.com/kubecfg/kubecfg/releases/download/v${pkgver}/kubecfg_Linux_X64")
md5sums=('SKIP')
package() {
install -Dm755 "${srcdir}"/kubecfg* "${pkgdir}/usr/bin/kubecfg"
"$pkgdir/usr/bin/kubecfg" completion --shell bash |
install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/kubecfg"
"$pkgdir/usr/bin/kubecfg" completion --shell zsh |
install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_kubecfg"
}
|