summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:03:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:03:05 +0000
commit217d9223a5aa75daf9f286fd1fc06dae379b5dbc (patch)
treeb43bedae234ad56894a82934ee57e3619f3374d5 /debian/watch
parentAdding upstream version 1.64.0+dfsg1. (diff)
downloadrustc-7cfdc478fb8231156bfe4919a414d41fde839ab8.tar.xz
rustc-7cfdc478fb8231156bfe4919a414d41fde839ab8.zip
Adding debian version 1.64.0+dfsg1-1.debian/1.64.0+dfsg1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 000000000..fe1cc1e51
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,18 @@
+version=4
+# if you need to download other versions replace the URL below with this one:
+# https://static.rust-lang.org/dist/channel-rust-$VERSION.toml
+# and also add searchmode=plain,\
+# it's a bit slower to download, that's why we use the other one normally
+
+opts="\
+pgpsigurlmangle=s/$/.asc/,\
+uversionmangle=s/(\d)[_.+-]?((beta|alpha)\.?\d*)$/$1~$2/,\
+dversionmangle=s/\+dfsg\d*$//,\
+downloadurlmangle=s/\.[gx]z/.xz/,\
+filenamemangle=s/.*\/(.*)\.[gx]z(\..*)?/$1.xz$2/,\
+repack,\
+repacksuffix=+dfsg1,\
+compression=xz,\
+" \
+ https://forge.rust-lang.org/infra/other-installation-methods.html \
+ https://(?:.*/)rustc?-(\d[\d.]*(?:-[\w.]+)?)-src\.tar\.[gx]z