12
PKGBUILD
12
PKGBUILD
@@ -2,20 +2,20 @@
|
||||
# Co-Maintainer: Lukas Grossar <lukasgrossar@gmail.com>
|
||||
|
||||
pkgname=k0sctl-bin
|
||||
pkgver=0.16.0
|
||||
pkgver=0.17.1
|
||||
pkgrel=1
|
||||
pkgdesc="A bootstrapping and management tool for k0s clusters."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/k0sproject/k0sctl"
|
||||
license=('Apache')
|
||||
source=("k0sctl-linux-x64-$pkgver::https://github.com/k0sproject/k0sctl/releases/download/v${pkgver}/k0sctl-linux-x64")
|
||||
sha256sums=('b21eb9edc90180d3bfb3413b82efac3811989f85d5c1f8e54750bf7b2144fbc6')
|
||||
sha256sums=('88dfa553d44c9826702b410bf2e3d927d7cd42006aaa5175158f148e7de33c1b')
|
||||
options=(!strip)
|
||||
|
||||
package() {
|
||||
install -Dm 755 "$srcdir/k0sctl-linux-x64-$pkgver" "$pkgdir/usr/bin/k0sctl"
|
||||
install -Dm 755 "$srcdir/k0sctl-linux-x64-$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"
|
||||
"$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