blob: 5cd2aa66e89ed1d0d63ae58e1fe94e8f70afc474 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
version=4
# if you need to download other versions replace the URL below with this one:
# https://static.rust-lang.org/dist/index.html
# it's a bit slower to download, that's why we use the other one normally
opts="\
pgpsigurlmangle=s/$/.asc/,\
uversionmangle=s/.*/NEWVER~beta.999/,\
dversionmangle=s/\+dfsg\d*$//,\
downloadurlmangle=s/rustc-.*-(.*)\.[gx]z/rustc-beta-$1.xz/,\
filenamemangle=s/.*\/(.*)-[^-]*-(.*)\.[gx]z(\..*)?/$1-NEWVER-beta.999-$2.xz$3/,\
repack,\
repacksuffix=+dfsg1,\
compression=xz,\
" \
https://forge.rust-lang.org/infra/other-installation-methods.html \
(?:.*/)rustc?-(.*)-src\.tar\.[gx]z
|