summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fed7f3c85ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: larte <lauri.arte@gmail.com>
+pkgname=kubectl-bin
+pkgdesc="Kubernetes.io client binary"
+pkgver=1.2.3
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://kubernetes.io"
+license=('apache')
+source=(https://github.com/kubernetes/kubernetes/releases/download/v$pkgver/kubernetes.tar.gz)
+md5sums=('69e75650de30d5a52d144799e94a168d')
+package() {
+ case $CARCH in
+ i686)
+ _kubectl_arch="386";
+ ;;
+ x86_64)
+ _kubectl_arch="amd64";
+ ;;
+ *)
+
+ ;;
+ esac
+ install -d "${pkgdir}"/usr/bin/
+ install -D "${srcdir}"/kubernetes/platforms/linux/${_kubectl_arch}/kubectl "$pkgdir/usr/bin/"
+
+}