Skip to content

Instantly share code, notes, and snippets.

@synthead
Created November 29, 2016 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save synthead/481e358cf1c91a55f91c7dad248b66d1 to your computer and use it in GitHub Desktop.
Save synthead/481e358cf1c91a55f91c7dad248b66d1 to your computer and use it in GitHub Desktop.
# Maintainer: larte <lauri.arte@gmail.com>
# Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
pkgname=kubectl-bin
pkgdesc="Kubernetes.io client binary"
pkgver=1.4.6
pkgrel=1
arch=('i686' 'x86_64')
url="http://kubernetes.io"
license=('apache')
conflicts=('kubernetes=1.3.2-1')
_kubectl_file=kubectl-$pkgver
source_i686=($_kubectl_file::http://storage.googleapis.com/kubernetes-release/release/v$pkgver/bin/linux/386/kubectl)
source_x86_64=($_kubectl_file::http://storage.googleapis.com/kubernetes-release/release/v$pkgver/bin/linux/amd64/kubectl)
md5sums_i686=('6680d5e2896fc59d203a40a6cfdd6d2b')
md5sums_x86_64=('400fe0fe30df83dee4b2bec10a85fe54')
package() {
install -Dm 755 "$srcdir/$_kubectl_file" "$pkgdir/usr/bin/kubectl"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment