summarylogtreecommitdiffstats
path: root/makerel.sh
diff options
context:
space:
mode:
authorlarte2016-12-14 14:49:52 +0200
committerlarte2016-12-14 14:49:52 +0200
commitf0ca182eca5dbcd13fe94767c66dd994d812f35e (patch)
tree4264b230dfc956d0d8cadd246ea6e96982f895d7 /makerel.sh
parent9761022e1046c078efc74765cdf251f2a9b53c82 (diff)
downloadaur-f0ca182eca5dbcd13fe94767c66dd994d812f35e.tar.gz
Modified build script to use make
Diffstat (limited to 'makerel.sh')
-rwxr-xr-xmakerel.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/makerel.sh b/makerel.sh
deleted file mode 100755
index 478f0dfb1c9..00000000000
--- a/makerel.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-
-function get_md5()
-{
- version=$1
- arch=$2
-
- md5=`curl http://storage.googleapis.com/kubernetes-release/release/v$1/bin/linux/$2/kubectl | md5sum | awk '{print $1}'`
-
-}
-
-
-if [ "x$1" == "x" ]; then
- echo "Usage: makerel.sh VERSION"
-else
-
- get_md5 $1 386
- md5_386=$md5
- echo "GOT $md5_386 for 386"
-
- get_md5 $1 amd64
- md5_amd64=$md5
- echo "GOT $md5_amd64 for amd64"
-
- sed -i.bak -r -e "s/md5sums_i686=.*/md5sums_i686=('$md5_386')/g" \
- -e "s/md5sums_x86_64=.*/md5sums_x86_64=('$md5_amd64')/g" \
- -e "s/pkgver=.*/pkgver=$1/g" PKGBUILD
-
- makepkg --printsrcinfo > .SRCINFO
-
-fi