blob: c622c4c925dad6aa3d6314593460a9850a59672a (
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.5.2
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=('745eb2c2534ebf822d0ec29a20735eaf1d4e11fa70091315a6660d7aab9094953b40ff23439b2d95c351daddc25cdc9a8ea228e14d043fed119e98f7ae970214')
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"
}
|