summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gevers <elbrus@debian.org>2017-07-17 13:27:08 +0200
committerPaul Gevers <elbrus@debian.org>2017-07-17 13:27:08 +0200
commitbf0d18bc27e8c599f3eedd08815e087cc363e93d (patch)
treef1af7d891e6eadac105bce42532d7fe64138e58b
parentbaf8717d42ddfc142aac2b7a9008b56870a1f87d (diff)
Update d/watch for correct way of version from directory
-rw-r--r--debian/watch11
1 files changed, 4 insertions, 7 deletions
diff --git a/debian/watch b/debian/watch
index 10f9bf4..1ad300b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,4 @@
-version=3
-# This watch file is currently broken as uscan does not support the version to
-# be only in the directory tree (bts: #526450). Because maybe uscan gets fixed before
-# this package receives a new release, I am activating it nevertheless.
-#
-# Also note that a "new" version doesn't seem to imply new content.
-http://festvox.org/packed/festival/([\d\.]*)/voices/ festvox_kallpc16k.tar.gz
+version=4
+# Note that a "new" version doesn't seem to imply new content.
+opts="filenamemangle=s#.*/festival/@ANY_VERSION@/voices/festvox_kallpc16k#@PACKAGE@_$1#" \
+ http://festvox.org/packed/festival/@ANY_VERSION@/voices/ festvox_kallpc16k@ARCHIVE_EXT@