Merge branch 'rochade'
[alioth/musescore.git] / debian / watch
1 # debian/watch - check for a new upstream release and fetch it. See USCAN(1).
2 # The script 'debian/repack' is called to perform changes for DFSG compliance.
3 # Since repacking is used, do not add --rename when invoking uscan, please.
4 version=4
5 opts=\
6 uversionmangle=s/%25/~/,\
7 dversionmangle=s/\+dfsg\d*$//,\
8 repack,\
9 repacksuffix=+dfsg2,\
10 compression=gz,\
11 searchmode=plain,\
12 filenamemangle=s/.+\/v?([0-9]+\.[0-9](?:[0-9.]*(?:%25pre)?[0-9]+)?)/MuseScore-$1.tar.gz/ \
13   https://api.github.com/repos/musescore/MuseScore/tags?per_page=200 \
14   https:[^"]*/tarball/v?(3\.[0-9](?:[0-9.]*(?:%25pre)?[0-9]+)?)(?="|$) \
15 debian debian/repack