summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarte2016-11-30 09:40:51 +0200
committerlarte2016-11-30 09:40:51 +0200
commit9dad818913736679fdb476cad8702c8a8583e293 (patch)
tree78fad996417943b42f009c07a98222787b0d20a9
parent111320d9c4fd308240f0aca92f9f622fad512f83 (diff)
downloadaur-9dad818913736679fdb476cad8702c8a8583e293.tar.gz
Merged fix for validity check from Synthead
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7be6635e0db..9b6b274d29a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = kubectl-bin
pkgdesc = Kubernetes.io client binary
pkgver = 1.4.6
- pkgrel = 1
+ pkgrel = 2
url = http://kubernetes.io
arch = i686
arch = x86_64
license = apache
- conflicts = kubernetes=1.3.2-1
- source_i686 = http://storage.googleapis.com/kubernetes-release/release/v1.4.6/bin/linux/386/kubectl
+ conflicts = kubernetes=1.4.6-1
+ source_i686 = kubectl-1.4.6::http://storage.googleapis.com/kubernetes-release/release/v1.4.6/bin/linux/386/kubectl
md5sums_i686 = 6680d5e2896fc59d203a40a6cfdd6d2b
- source_x86_64 = http://storage.googleapis.com/kubernetes-release/release/v1.4.6/bin/linux/amd64/kubectl
+ source_x86_64 = kubectl-1.4.6::http://storage.googleapis.com/kubernetes-release/release/v1.4.6/bin/linux/amd64/kubectl
md5sums_x86_64 = 400fe0fe30df83dee4b2bec10a85fe54
pkgname = kubectl-bin
diff --git a/PKGBUILD b/PKGBUILD
index a0333fd2515..45567bb350a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,20 @@
# 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
+pkgrel=2
arch=('i686' 'x86_64')
url="http://kubernetes.io"
license=('apache')
-conflicts=('kubernetes=1.3.2-1')
-source_i686=(http://storage.googleapis.com/kubernetes-release/release/v$pkgver/bin/linux/386/kubectl)
-source_x86_64=(http://storage.googleapis.com/kubernetes-release/release/v$pkgver/bin/linux/amd64/kubectl)
+conflicts=('kubernetes=1.4.6-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 -d "${pkgdir}"/usr/bin/
- install -D "${srcdir}"/kubectl "$pkgdir/usr/bin/"
-
+ install -Dm 755 "$srcdir/$_kubectl_file" "$pkgdir/usr/bin/kubectl"
}