summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authork4yt3x2022-03-07 16:29:52 +0000
committerk4yt3x2022-03-07 16:29:52 +0000
commit4a3618965fc04d0d8e9d6ea3aa8feef4a26ae772 (patch)
tree9cc44b491fbc6fce480b5c77b75067c5b77daff5
downloadaur-4a3618965fc04d0d8e9d6ea3aa8feef4a26ae772.tar.gz
added PKGBUILD for 0.4.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD20
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..502a0675e74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = kuberlr-bin
+ pkgdesc = A tool that simplifies the management of multiple versions of kubectl
+ pkgver = 0.4.1
+ pkgrel = 1
+ url = https://github.com/flavio/kuberlr
+ arch = x86_64
+ license = Apache
+ provides = kubectl
+ conflicts = kubectl
+ source = kuberlr-bin-0.4.1.tar.gz::https://github.com/flavio/kuberlr/releases/download/v0.4.1/kuberlr_0.4.1_linux_amd64.tar.gz
+ b2sums = b6acd235b163f3207c05e4df1754e49880948f4106cd2328f46c0f170252ad474834321d6acb7525573d07af98c1b4397efa77cc11b96be2ac01b96765e5b017
+
+pkgname = kuberlr-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6ae60a597fb
--- /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"
+}