Package Details: k0sctl-bin 0.17.5-1

Git Clone URL: https://aur.archlinux.org/k0sctl-bin.git (read-only, click to copy)
Package Base: k0sctl-bin
Description: A bootstrapping and management tool for k0s clusters.
Upstream URL: https://github.com/k0sproject/k0sctl
Licenses: Apache
Conflicts: k0sctl
Provides: k0sctl
Submitter: eyenx
Maintainer: eyenx (tongpu)
Last Packager: eyenx
Votes: 2
Popularity: 0.006570
First Submitted: 2021-04-12 19:05 (UTC)
Last Updated: 2024-04-10 07:58 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

pschichtel commented on 2024-01-06 16:30 (UTC)

I just added the source-built package k0sctl, so it would be good if you provides=(k0sctl) and conflicts=(k0sctl)

cwrau commented on 2022-11-09 10:19 (UTC)

Could you provide completion for zsh/bash?

You can use the following snippet inside the install function;

  $srcdir/$$bin completion zsh > $srcdir/zsh_$$bin
  $srcdir/$$bin completion bash > $srcdir/bash_$$bin
  install -D -m 0644 $srcdir/zsh_$$bin $pkgdir/usr/share/zsh/site-functions/_$$bin
  install -D -m 0644 $srcdir/bash_$$bin $pkgdir/usr/share/bash-completion/completions/$$bin

replacing $$bin with k0sctl maybe?

twz123 commented on 2022-08-26 10:00 (UTC)

There's a new patch release available:

diff --git a/PKGBUILD b/PKGBUILD
index 1cd8805..d207772 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
 # Co-Maintainer: Lukas Grossar <lukasgrossar@gmail.com>

 pkgname=k0sctl-bin
-pkgver=0.13.1
+pkgver=0.13.2
 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=('affc64ab8006c918da41eb1d09bd9928bde20d9e7684e66f5837b362b2654cc2')
+sha256sums=('9c57ebd215e5952c0b137631be6dcde1e22eb45c1afdc4932ced91d39ba88bbc')
 options=(!strip)

 package() {

eyenx commented on 2021-11-14 09:44 (UTC)

@erdii Sorry for the late reply, was on Holidays.

Thanks for findingt this out! it is fixed now on 0.11.4-3

erdii commented on 2021-11-05 09:32 (UTC)

Hey - thanks for incorporating the change! Installtion is now broken because the source filename in the install command must be changed as well.

This diff fixes it:

diff --git a/PKGBUILD b/PKGBUILD
index ae18015..ed9ad46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,5 +13,5 @@ sha256sums=('a34d49a3bf735fe57590ef8b6c559fc35d02d9de0fefdc3fc4f1192cafa60614')
 options=(!strip)

 package() {
-  install -Dm 755 "$srcdir/k0sctl-linux-x64" "$pkgdir/usr/bin/k0sctl"
+  install -Dm 755 "$srcdir/k0sctl-linux-x64-$pkgver" "$pkgdir/usr/bin/k0sctl"
 }

Sorry for not including thiss with the previous comment.

erdii commented on 2021-09-26 18:15 (UTC) (edited on 2021-09-26 18:16 (UTC) by erdii)

can you please change the source line from:

source=("https://github.com/k0sproject/k0sctl/releases/download/v${pkgver}/k0sctl-linux-x64")

to

source=("k0sctl-linux-x64-$pkgver::https://github.com/k0sproject/k0sctl/releases/download/v${pkgver}/k0sctl-linux-x64")

This avoids the need to clean up the package directory before building an upgraded version of the package.

erdii commented on 2021-09-10 08:22 (UTC) (edited on 2021-09-10 08:25 (UTC) by erdii)

==> Validating source files with sha256sums...
    k0sctl-linux-x64 ... FAILED
==> ERROR: One or more files did not pass the validity check!
error downloading sources: k0sctl-bin

Edit: actually your checksums are correct! That was something on my machine... sorry for the noise.