summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarte2016-04-26 16:36:35 +0300
committerlarte2016-04-26 16:36:35 +0300
commit9b9d797de20e295a63948f98c56de0ab728a7f13 (patch)
tree104c9ee23d4f3fa77aa948028898a534db864b5a
downloadaur-9b9d797de20e295a63948f98c56de0ab728a7f13.tar.gz
added version 1.2.3
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD26
-rw-r--r--README.md13
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9548415788b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = kubectl-bin
+ pkgdesc = Kubernetes.io client binary
+ pkgver = 1.2.3
+ pkgrel = 1
+ url = http://kubernetes.io
+ arch = i686
+ arch = x86_64
+ license = apache
+ source = https://github.com/kubernetes/kubernetes/releases/download/v1.2.3/kubernetes.tar.gz
+ md5sums = 69e75650de30d5a52d144799e94a168d
+
+pkgname = kubectl-bin
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/"
+
+}
diff --git a/README.md b/README.md
new file mode 100644
index 00000000000..fe0d291b4dc
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+# kubectl-AUR
+
+This PKGBUILD for arch linux package system.
+
+## Usage
+
+to build:
+
+ $ makepkg
+
+to install:
+
+ $ sudo pacman -U <package name>