Adopt and update to latest version

This commit is contained in:
Knut Ahlers 2024-09-04 12:19:31 +02:00
parent e91eaa5da9
commit 0c6aaac00b
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E
4 changed files with 7 additions and 29 deletions

View file

@ -1,12 +0,0 @@
pkgbase = clusterctl-bin
pkgdesc = Cluster API Tool
pkgver = 1.7.2
pkgrel = 1
url = https://cluster-api.sigs.k8s.io/
arch = x86_64
license = Apache
optdepends = kubectl: to manage the cluster
provides = clusterctl
source = clusterctl-linux-amd64-v1.7.2::https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.2/clusterctl-linux-amd64
sha256sums = e39f19d88d9e87992ce710e468239d2ecdffdb9b81a5da7c926e0288c892c0e3
pkgname = clusterctl-bin

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*
!.gitignore
!PKGBUILD

View file

@ -1,8 +1,9 @@
# Maintainer: Sergey Yakovlev <selfuryon@gmail.com> # Contributor: Sergey Yakovlev <selfuryon@gmail.com>
# Maintainer: Knut Ahlers
pkgname=clusterctl-bin pkgname=clusterctl-bin
pkgdesc="Cluster API Tool" pkgdesc="Cluster API Tool"
pkgver=1.7.2 pkgver=1.8.1
pkgrel=1 pkgrel=1
arch=('x86_64') arch=('x86_64')
url="https://cluster-api.sigs.k8s.io/" url="https://cluster-api.sigs.k8s.io/"
@ -10,7 +11,7 @@ license=('Apache')
optdepends=('kubectl: to manage the cluster') optdepends=('kubectl: to manage the cluster')
provides=('clusterctl') provides=('clusterctl')
source=("clusterctl-linux-amd64-v$pkgver::https://github.com/kubernetes-sigs/cluster-api/releases/download/v$pkgver/clusterctl-linux-amd64") source=("clusterctl-linux-amd64-v$pkgver::https://github.com/kubernetes-sigs/cluster-api/releases/download/v$pkgver/clusterctl-linux-amd64")
sha256sums=('e39f19d88d9e87992ce710e468239d2ecdffdb9b81a5da7c926e0288c892c0e3') sha256sums=('04f95a7ad03f9a31aaa268f30326075fbdf2e4b8af65173543e0e445ca4bdb2e')
package() { package() {
install -Dm0755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl" install -Dm0755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl"

View file

@ -1,14 +0,0 @@
= AUR clusterctl-bin
The AUR clusterctl package (https://github.com/kubernetes-sigs/cluster-api)
== Installation
Manual building:
$ makepkg
$ sudo pacman -U clusterctl-bin
Pacaur Installation:
$ pacaur -S clusterctl-bin