This commit is contained in:
21
PKGBUILD
Normal file
21
PKGBUILD
Normal file
@@ -0,0 +1,21 @@
|
||||
# Maintainer: Toni Tauro <eye@eyenx.ch>
|
||||
# Co-Maintainer: Lukas Grossar <lukasgrossar@gmail.com>
|
||||
|
||||
pkgname=k0s-bin
|
||||
pkgver=1.32.3+k0s.0
|
||||
pkgrel=1
|
||||
pkgdesc="k0s - Zero Friction Kubernetes"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/k0sproject/k0s"
|
||||
license=('Apache-2.0')
|
||||
source=("https://github.com/k0sproject/k0s/releases/download/v${pkgver}/k0s-v${pkgver}-amd64")
|
||||
sha256sums=('e06554c0fbc117c7792673e536297c3e792eefcb20457289ef5b02894ce85b2f')
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user