blob: 2627ab21346cab3519a749876e88bd2968077b53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: K4YT3X <aur@k4yt3x.com>
pkgname=kuberlr-bin
pkgver=0.6.0
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=('2dcd28c799b8b8101550069fbb707cd78ebd6fb059ae96eed1271fa5a419f82eae487904052d1d3cdd4ed4f3ecc9115693edfe9c0af604fa384cef5de33434d2')
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"
}
|