clusterctl-bin/PKGBUILD
2021-10-10 16:27:32 +03:00

18 lines
597 B
Bash

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