summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2019-01-06 19:50:00 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-01-06 19:50:00 +0100
commit31f8dd72bf1dc508233910ab29a3b9162beb8cbb (patch)
tree4d5e6707f77a28468c193fe8878db7a103d9ab56
parent98de4eba064f9107d4d6fe26af792a9d3d749adc (diff)
Update debian/watch
-rw-r--r--debian/watch6
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/watch b/debian/watch
index 230d43b..fee93ed 100644
--- a/debian/watch
+++ b/debian/watch
@@ -3,7 +3,5 @@
# Compulsory line, this is a version 3 file
version=3
-opts=downloadurlmangle=s#.*(twms-(.+)\.tar\.bz2).*#http://twms.googlecode.com/files/$1#,filenamemangle=s#.*(twms-(.+)\.tar\.bz2).*#$1# \
- http://code.google.com/p/twms/downloads/list ^.*detail\?name=twms-(.+)\.tar\.bz2.*
-
-
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/twms-$1\.tar\.gz/,uversionmangle=s/-?rc/~rc/,repacksuffix=+dfsg,dversionmangle=s/\+dfsg$// \
+ https://github.com/Komzpa/twms/releases .*/archive/(\d[^\s\-]*)\.tar\.gz