summaryrefslogtreecommitdiff
path: root/p/happy
diff options
context:
space:
mode:
authorMarco TĂșlio Gontijo e Silva <marcot@riseup.net>2009-12-29 03:16:56 +0300
committer=?UTF-8?q?Marco=20T=C3=BAlio=20Gontijo=20e=20Silva?= <=?UTF-8?q?Marco=20T=C3=BAlio=20Gontijo=20e=20Silva?=>2009-12-29 03:16:56 +0300
commit617cec87832a6abeef391cfae89200cbcceab50f (patch)
tree0a37c34f7d5fa74fdf72c7328ea89b72bba3103e /p/happy
parentd49481121dfd119b711ff1d94611974958f6fe03 (diff)
downloadDHG_packages-617cec87832a6abeef391cfae89200cbcceab50f.tar.gz
happy: debian/watch: Use format that works for --download-current-version.
Diffstat (limited to 'p/happy')
-rw-r--r--p/happy/debian/changelog1
-rw-r--r--p/happy/debian/watch4
2 files changed, 4 insertions, 1 deletions
diff --git a/p/happy/debian/changelog b/p/happy/debian/changelog
index d09fd84dd..305d2d5eb 100644
--- a/p/happy/debian/changelog
+++ b/p/happy/debian/changelog
@@ -6,6 +6,7 @@ happy (1.18.4-2) UNRELEASED; urgency=low
[ Marco TĂșlio Gontijo e Silva ]
* debian/control: Change Priority: to extra.
+ * debian/watch: Use format that works for --download-current-version.
-- Iain Lane <laney@ubuntu.com> Fri, 16 Oct 2009 20:55:28 +0100
diff --git a/p/happy/debian/watch b/p/happy/debian/watch
index 9ba9d0895..0bfbcf93b 100644
--- a/p/happy/debian/watch
+++ b/p/happy/debian/watch
@@ -1,2 +1,4 @@
version=3
-http://hackage.haskell.org/packages/archive/happy/([\d\.]+)/happy-([\d\.]+).tar.gz
+opts=downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz| \
+ http://hackage.haskell.org/packages/archive/happy \
+ ([\d\.]*\d)/