# Maintainer: Toni Tauro # Co-Maintainer: Lukas Grossar pkgname=k0s-bin pkgver=1.26.1+k0s.0 pkgrel=1 pkgdesc="k0s - Zero Friction Kubernetes" arch=('x86_64') url="https://github.com/k0sproject/k0s" license=('Apache') source=("https://github.com/k0sproject/k0s/releases/download/v${pkgver}/k0s-v${pkgver}-amd64") sha256sums=('d3c973aa2c5f759028c3f2bd7edb94f483e9fe1c353c7b01ee5fc00fda190799') options=(!strip) package() { install -Dm 755 "$srcdir/k0s-v${pkgver}-amd64" "$pkgdir/usr/bin/k0s" "$pkgdir/usr/bin/k0s" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/k0s" "$pkgdir/usr/bin/k0s" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_k0s" "$pkgdir/usr/bin/k0s" completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/k0s.fish" }