diff options
Diffstat (limited to 'debian/watch')
-rw-r--r-- | debian/watch | 18 |
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 |