summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Birks2019-03-04 18:35:25 -0500
committerDavid Birks2019-03-04 18:35:31 -0500
commit39d21a454d764b8208d23dc49a870f39898d5881 (patch)
tree483f1af967dcd1a24bc31b67a8db572cbf542fe7
parent9acea55573e7fbdcfbbbbb455429f131f7ee0e10 (diff)
downloadaur-39d21a454d764b8208d23dc49a870f39898d5881.tar.gz
Update to 1.14.0-beta.1
Remove i386 Other clean-ups based on preferences
-rw-r--r--.SRCINFO12
-rw-r--r--Makefile37
-rw-r--r--PKGBUILD12
-rw-r--r--README.md14
4 files changed, 10 insertions, 65 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6391a8b3e76..edce9add7ec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,16 @@
pkgbase = kubectl-beta-bin
pkgdesc = Kubernetes.io client binary (beta)
- pkgver = 1.13.1_beta.0
+ pkgver = 1.14.0_beta.1
pkgrel = 1
url = http://kubernetes.io
- arch = i686
arch = x86_64
license = apache
provides = kubectl-bin
- conflicts = kubernetes>=1.4.6
+ conflicts = kubectl
conflicts = kubectl-bin
- source_i686 = kubectl-1.13.1-beta.0::https://storage.googleapis.com/kubernetes-release/release/v1.13.1-beta.0/bin/linux/386/kubectl
- md5sums_i686 = ed610257e142ed2baf1abd6119c73106
- source_x86_64 = kubectl-1.13.1-beta.0::https://storage.googleapis.com/kubernetes-release/release/v1.13.1-beta.0/bin/linux/amd64/kubectl
- md5sums_x86_64 = 14ab72ec927535d070331da16e02c5e3
+ conflicts = kubernetes>=1.4.6
+ source = kubectl-1.14.0-beta.1::https://storage.googleapis.com/kubernetes-release/release/v1.14.0-beta.1/bin/linux/amd64/kubectl
+ sha256sums = 31a027f335bf6c5042eadaea9b4623b28e6255560ed502eeb697d3313124f5bd
pkgname = kubectl-beta-bin
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 82a4d97f29d..00000000000
--- a/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-PHOHY = clean release
-
-BASEURL:=https://storage.googleapis.com/kubernetes-release/release
-
-
-check:
-ifndef VERSION
- @echo "Define version in ENV"
- @exit 1;
-else
- @echo "Build version ${VERSION}"
-endif
-
-
-prepare: check
- @mkdir -p tmp
- curl -s ${BASEURL}/v${VERSION}/bin/linux/amd64/kubectl > tmp/kubectl_amd64
- curl -s ${BASEURL}/v${VERSION}/bin/linux/386/kubectl > tmp/kubectl_386
-
-release: prepare
- set -e; \
- MD5_AMD64=`md5sum tmp/kubectl_amd64 | awk '{print $$1}'`; \
- MD5_386=`md5sum tmp/kubectl_386 | awk '{print $$1}'`; \
- sed -i.bak -r -e "s/pkgver=.*/pkgver=$${VERSION}/g" \
- -e "s/md5sums_i686=.*/md5sums_i686=('$${MD5_386}')/g" \
- -e "s/md5sums_x86_64=.*/md5sums_x86_64=('$${MD5_AMD64}')/g" PKGBUILD; \
- makepkg --printsrcinfo > .SRCINFO; \
- makepkg; \
- sudo pacman -U kubectl-bin*; \
-
-
-clean:
- rm -rf kubectl-* pkg src *.bak tmp
diff --git a/PKGBUILD b/PKGBUILD
index 0429a36624a..01af50e4fb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,15 @@
pkgname=kubectl-beta-bin
pkgdesc="Kubernetes.io client binary (beta)"
-pkgver=1.13.1_beta.0
+pkgver=1.14.0_beta.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://kubernetes.io"
license=('apache')
provides=('kubectl-bin')
-conflicts=('kubernetes>=1.4.6' 'kubectl-bin')
-source_i686=(kubectl-${pkgver//_/-}::https://storage.googleapis.com/kubernetes-release/release/v${pkgver//_/-}/bin/linux/386/kubectl)
-source_x86_64=(kubectl-${pkgver//_/-}::https://storage.googleapis.com/kubernetes-release/release/v${pkgver//_/-}/bin/linux/amd64/kubectl)
-md5sums_i686=('ed610257e142ed2baf1abd6119c73106')
-md5sums_x86_64=('14ab72ec927535d070331da16e02c5e3')
+conflicts=('kubectl' 'kubectl-bin' 'kubernetes>=1.4.6')
+source=("kubectl-${pkgver//_/-}::https://storage.googleapis.com/kubernetes-release/release/v${pkgver//_/-}/bin/linux/amd64/kubectl")
+sha256sums=('31a027f335bf6c5042eadaea9b4623b28e6255560ed502eeb697d3313124f5bd')
package() {
install -Dm 755 "$srcdir/kubectl-${pkgver//_/-}" "$pkgdir/usr/bin/kubectl"
diff --git a/README.md b/README.md
deleted file mode 100644
index 25921a326a9..00000000000
--- a/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# kubectl-AUR
-
-This PKGBUILD for arch linux package system.
-available at [https://aur.archlinux.org/packages/kubectl-bin/](https://aur.archlinux.org/packages/kubectl-bin/)
-
-## Usage
-
-to build:
-
- $ makepkg
-
-to install:
-
- $ sudo pacman -U <package name>