diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ae60a597fbf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: K4YT3X <aur@k4yt3x.com> +pkgname=kuberlr-bin +pkgver=0.4.1 +pkgrel=1 +pkgdesc='A tool that simplifies the management of multiple versions of kubectl' +arch=('x86_64') +url='https://github.com/flavio/kuberlr' +license=('Apache') +provides=('kubectl') +conflicts=('kubectl') +source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/kuberlr_${pkgver}_linux_amd64.tar.gz") +b2sums=('b6acd235b163f3207c05e4df1754e49880948f4106cd2328f46c0f170252ad474834321d6acb7525573d07af98c1b4397efa77cc11b96be2ac01b96765e5b017') + +package() { + cd "${srcdir}/kuberlr_${pkgver}_linux_amd64" + install -D -m 755 kuberlr "${pkgdir}/usr/bin/kuberlr" + install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/kuberlr/LICENSE" + + ln -s "/usr/bin/kuberlr" "${pkgdir}/usr/bin/kubectl" +} |