This commit is contained in:
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
@@ -0,0 +1,23 @@
|
||||
# Maintainer: Toni Tauro <eye@eyenx.ch>
|
||||
# Co-Maintainer: Lukas Grossar <lukasgrossar@gmail.com>
|
||||
|
||||
pkgname=k0sctl-bin
|
||||
pkgver=0.19.0
|
||||
pkgrel=1
|
||||
pkgdesc="A bootstrapping and management tool for k0s clusters."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/k0sproject/k0sctl"
|
||||
license=('Apache-2.0')
|
||||
source=("k0sctl-linux-amd64-$pkgver::https://github.com/k0sproject/k0sctl/releases/download/v${pkgver}/k0sctl-linux-amd64")
|
||||
sha256sums=('a7394088c710633b6c02bbbb5a9ff8d9ab94a31e5d17f7b34808cd4aeefef40c')
|
||||
options=(!strip)
|
||||
provides=("k0sctl")
|
||||
conflicts=("k0sctl")
|
||||
|
||||
package() {
|
||||
install -Dm 755 "$srcdir/k0sctl-linux-amd64-$pkgver" "$pkgdir/usr/bin/k0sctl"
|
||||
|
||||
"$pkgdir/usr/bin/k0sctl" completion --shell bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/k0sctl"
|
||||
"$pkgdir/usr/bin/k0sctl" completion --shell zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_k0sctl"
|
||||
"$pkgdir/usr/bin/k0sctl" completion --shell fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/k0sctl.fish"
|
||||
}
|
||||
Reference in New Issue
Block a user