aboutsummaryrefslogtreecommitdiff
path: root/development/rustup/rustup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/rustup/rustup.SlackBuild')
-rw-r--r--development/rustup/rustup.SlackBuild17
1 files changed, 3 insertions, 14 deletions
diff --git a/development/rustup/rustup.SlackBuild b/development/rustup/rustup.SlackBuild
index 507226667214..420d9f421578 100644
--- a/development/rustup/rustup.SlackBuild
+++ b/development/rustup/rustup.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rustup
-VERSION=${VERSION:-1.25.2}
+VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,8 +81,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-zcat $CWD/offline_build.diff.gz | patch -p1
-
# build offline
# configuration tells cargo to use the configured directory
# for dependencies instead of downloading from crates.io
@@ -109,12 +107,7 @@ mkdir vendor
ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
- if [ "$dep" = "home" ] ; then
- tar xvf "$CWD/home-a243ee2fbee6022c57d56f5aa79aefe194eabe53.tar.gz"
- mv home-a243ee2fbee6022c57d56f5aa79aefe194eabe53 home-0.5.3
- else
- tar xvf $CWD/$dep-$ver.crate
- fi
+ tar xvf $CWD/$dep-$ver.crate
touch $dep-$ver/.cargo-ok
@@ -131,11 +124,7 @@ mkdir vendor
printf " },\n"
printf ' "package": "'
- if [ "$dep" = "home" ] ; then
- printf "%s\"\\n" "479b7f48df1046b51085dcc214350c0ca7a303d91ca17944c0977fb72cf6bbac"
- else
- sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
- fi
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
printf "}\n"
} > $dep-$ver/.cargo-checksum.json