summaryrefslogtreecommitdiffstats
path: root/debian/watch-beta.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch-beta.in')
-rw-r--r--debian/watch-beta.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/watch-beta.in b/debian/watch-beta.in
new file mode 100644
index 000000000..5cd2aa66e
--- /dev/null
+++ b/debian/watch-beta.in
@@ -0,0 +1,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