development/rustup: Updated for version 1.25.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-04-30 17:49:46 +09:00 committed by Willy Sudiarto Raharjo
parent 0ac6128a08
commit 87a5fdaaa6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 386 additions and 495 deletions

View file

@ -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
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
printf "}\n"
} > $dep-$ver/.cargo-checksum.json

File diff suppressed because it is too large Load diff