summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14906014cea..725d3429ad7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kubernetes-cni-bin
pkgdesc = Kubernetes.io kubernetes-cni binary
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = http://kubernetes.io
arch = x86_64
license = apache
diff --git a/PKGBUILD b/PKGBUILD
index 5c14a88a003..26ecb3f12fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=kubernetes-cni-bin
pkgdesc="Kubernetes.io kubernetes-cni binary"
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="http://kubernetes.io"
license=('apache')
@@ -14,4 +14,8 @@ sha256sums_x86_64=('08cbe5c42366ec3184cc91a4353f6e066f2d7325b4db1cb4f87c7dcc8c0e
package() {
tar -vxf data.tar.xz
install -D -d -m0755 "./opt/cni/bin" "${pkgdir}/opt/cni/bin"
+
+ for file in ./opt/cni/bin/*; do
+ install -m0755 "$file" "${pkgdir}/opt/cni/bin/"
+ done
}