# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=kubernetes pkgver=1.3.10 pkgrel=0 pkgdesc="Container Cluster Manager for Docker" url="http://kubernetes.io/" arch="x86_64" license="APACHE" depends="bash" depends_dev="" makedepends="$depends_dev go rsync bash linux-headers" install="" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" export GOPATH="$srcdir" bash ./hack/build-go.sh } package() { cd "$builddir" binaries="kube-apiserver kube-controller-manager kube-scheduler kube-proxy kubelet kubectl kubemark hyperkube" for bin in $binaries ; do install -Dm755 _output/local/bin/linux/amd64/$bin $pkgdir/usr/bin/$bin done install -d $pkgdir/var/lib/kubelet } md5sums="2dc09b21aaccc73eacbb60132466ea85 kubernetes-1.3.10.tar.gz" sha256sums="7167e8c8e68d34596018103b55724f01d9b5e1f715c816c347a967cb438d6d18 kubernetes-1.3.10.tar.gz" sha512sums="770703fd0747ef75847507f807810eb4206ff644ce71c9f64cf3914242230eb80c84f0ee9225619733a0d30e079aa9508628ce47096e31efb03f9eb7ec6fb942 kubernetes-1.3.10.tar.gz"