diff options
author | David Birks | 2019-03-04 18:35:25 -0500 |
---|---|---|
committer | David Birks | 2019-03-04 18:35:31 -0500 |
commit | 39d21a454d764b8208d23dc49a870f39898d5881 (patch) | |
tree | 483f1af967dcd1a24bc31b67a8db572cbf542fe7 /Makefile | |
parent | 9acea55573e7fbdcfbbbbb455429f131f7ee0e10 (diff) | |
download | aur-39d21a454d764b8208d23dc49a870f39898d5881.tar.gz |
Update to 1.14.0-beta.1
Remove i386
Other clean-ups based on preferences
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 82a4d97f29dc..000000000000 --- 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 |