clusterctl-bin/PKGBUILD
2022-02-11 02:05:54 +03:00

18 lines
597 B
Bash

# Maintainer: Sergey Yakovlev <selfuryon@gmail.com>
pkgname=clusterctl-bin
pkgdesc="Cluster API Tool"
pkgver=1.1.1
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=('b99b157606a3e627e330feba76151cfafd18f4219d0685b4dd65a7a5b7cf3ce0')
package() {
install -Dm 755 "$srcdir/clusterctl-linux-amd64-v$pkgver" "$pkgdir/usr/bin/clusterctl"
}