Updated to 1.3.2

This commit is contained in:
Massimiliano Torromeo 2023-01-16 14:11:00 +01:00
parent ff334bf877
commit 6a647cd774
No known key found for this signature in database
GPG key ID: 11675C743429DDEF
2 changed files with 10 additions and 7 deletions

View file

@ -1,13 +1,13 @@
pkgbase = clusterctl-bin
pkgdesc = Cluster API Tool
pkgver = 1.2.4
pkgver = 1.3.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.2.4::https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.4/clusterctl-linux-amd64
sha256sums = e54b8893fec3a444ecd81434b1ccadc2dc8811446e3c877c097eb67fd4558bc1
source = clusterctl-linux-amd64-v1.3.2::https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.2/clusterctl-linux-amd64
sha256sums = d57adc75cd4359a9f660b2ecbbd0ef82ebfa643c1218a6ca8ca1778bdda72380
pkgname = clusterctl-bin

View file

@ -2,7 +2,7 @@
pkgname=clusterctl-bin
pkgdesc="Cluster API Tool"
pkgver=1.2.4
pkgver=1.3.2
pkgrel=1
arch=('x86_64')
url="https://cluster-api.sigs.k8s.io/"
@ -10,9 +10,12 @@ license=('Apache')
optdepends=('kubectl: to manage the cluster')
provides=('clusterctl')
source=("clusterctl-linux-amd64-v$pkgver::https://github.com/kubernetes-sigs/cluster-api/releases/download/v$pkgver/clusterctl-linux-amd64")
sha256sums=('e54b8893fec3a444ecd81434b1ccadc2dc8811446e3c877c097eb67fd4558bc1')
sha256sums=('d57adc75cd4359a9f660b2ecbbd0ef82ebfa643c1218a6ca8ca1778bdda72380')
package() {
install -Dm 755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl"
install -Dm0755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl"
install -dm0755 "$pkgdir/usr/share/zsh-completions/site-functions/"
install -dm0755 "$pkgdir/usr/share/bash-completion/completions/"
"$pkgdir/usr/bin/clusterctl" completion zsh > "$pkgdir/usr/share/zsh-completions/site-functions/_clusterctl"
"$pkgdir/usr/bin/clusterctl" completion bash > "$pkgdir/usr/share/bash-completion/completions/clusterctl"
}