clusterctl-bin/PKGBUILD
2021-12-07 18:33:35 +03:00

18 lines
597 B
Bash

# Maintainer: Sergey Yakovlev <selfuryon@gmail.com>
pkgname=clusterctl-bin
pkgdesc="Cluster API Tool"
pkgver=1.0.2
pkgrel=1
arch=('x86_64')
url="https://cluster-api.sigs.k8s.io/"
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=('f9262671d02733b1c627886dda04ee5faf28d73afe540acd3f41692f7755b6c2')
package() {
install -Dm 755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl"
}