clusterctl-bin/PKGBUILD
2021-06-25 11:08:45 +03:00

18 lines
597 B
Bash

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