# Maintainer: Marat Bakeev pkgname=kops21-bin pkgver=v1.21.4 _build=${pkgver} pkgrel=1 pkgdesc='Kubernetes Operations 1.21 version (kOps) - Production Grade K8s Installation, Upgrades, and Management' url='https://github.com/kubernetes/kops' arch=('x86_64') license=('apache') conflicts=() source_x86_64=("$pkgname-$pkgver::https://github.com/kubernetes/kops/releases/download/${_build}/kops-linux-amd64") sha256sums_x86_64=('fbd4c1120da45304cf872449d6a39327186a60697c3ca4037172c7d5d28821d1') 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" }