# Maintainer: Marat Bakeev # Ex-Maintainer: Dennis Oehme pkgname=kops-bin pkgver=v1.28.5 _build=${pkgver} pkgrel=1 pkgdesc='Kubernetes Operations (kOps) - Production Grade K8s Installation, Upgrades, and Management' url='https://github.com/kubernetes/kops' arch=('x86_64') license=('apache') conflicts=('kops' 'kops-beta-bin' 'kops-git' 'kops21-bin') source_x86_64=("$pkgname-$pkgver::https://github.com/kubernetes/kops/releases/download/${_build}/kops-linux-amd64") sha256sums_x86_64=('608464a37ffc25c4298315684a1d537777756c3123cc1b43fd7a913607ad8584') package() { install -d ${pkgdir}/usr/bin install -Dm755 ${srcdir}/$pkgname-$pkgver ${pkgdir}/usr/bin/kops install -d 755 "$pkgdir/usr/share/bash-completion/completions" install -d 755 "$pkgdir/usr/share/zsh/site-functions" "$pkgdir/usr/bin/kops" completion bash > "$pkgdir/usr/share/bash-completion/completions/kops" "$pkgdir/usr/bin/kops" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_kops" }