fix watch file for Google Code new download page
authorJulien Valroff <julien@kirya.net>
Sun, 16 May 2010 19:21:19 +0000 (21:21 +0200)
committerJulien Valroff <julien@kirya.net>
Sun, 16 May 2010 19:21:19 +0000 (21:21 +0200)
debian/watch

index 9f98d9a..4173ede 100644 (file)
@@ -1,2 +1,5 @@
 version=3
-http://code.google.com/p/pino-twitter/downloads/list http://pino-twitter.googlecode.com/files/pino-(.*)\.tar\.bz2
+opts=\
+downloadurlmangle=s|.*[?]name=(.*?)&.*|http://pino-twitter.googlecode.com/files/$1|,\
+filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \
+http://code.google.com/p/pino-twitter/downloads/detail[?]name=pino-([0-9.]+).tar.bz2&.*