summaryrefslogtreecommitdiff
path: root/p/c2hs
diff options
context:
space:
mode:
authorMarco TĂșlio Gontijo e Silva <marcot@riseup.net>2010-01-18 04:33:34 +0300
committer=?UTF-8?q?Marco=20T=C3=BAlio=20Gontijo=20e=20Silva?= <=?UTF-8?q?Marco=20T=C3=BAlio=20Gontijo=20e=20Silva?=>2010-01-18 04:33:34 +0300
commit1bdda57d33b2d133a1f66d8decbd57985ffd011e (patch)
tree559b5516288113081d4959252c802d09a13bc454 /p/c2hs
parent710abb53b0114d03ad3e561cec7c2450fa6c26fb (diff)
downloadDHG_packages-1bdda57d33b2d133a1f66d8decbd57985ffd011e.tar.gz
c2hs: debian/watch: Include package name in downloaded .tar.gz.
Diffstat (limited to 'p/c2hs')
-rw-r--r--p/c2hs/debian/changelog1
-rw-r--r--p/c2hs/debian/watch3
2 files changed, 3 insertions, 1 deletions
diff --git a/p/c2hs/debian/changelog b/p/c2hs/debian/changelog
index 3f177051f..9f64767fd 100644
--- a/p/c2hs/debian/changelog
+++ b/p/c2hs/debian/changelog
@@ -19,6 +19,7 @@ c2hs (0.16.0-1) UNRELEASED; urgency=low
* debian/control: Change Priority: to extra.
* debian/watch: Use format that works for --download-current-version.
* debian/watch: Add .tar.gz to downloaded filename.
+ * debian/watch: Include package name in downloaded .tar.gz.
-- Erik de Castro Lopo <erikd@mega-nerd.com> Mon, 7 Sep 2009 19:37:25 +1000
diff --git a/p/c2hs/debian/watch b/p/c2hs/debian/watch
index 451b3f21e..74f5f8571 100644
--- a/p/c2hs/debian/watch
+++ b/p/c2hs/debian/watch
@@ -1,4 +1,5 @@
version=3
-opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,filenamemangle=s|/$|.tar.gz|" \
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|, \
+ filenamemangle=s|(.*)/$|c2hs-$1.tar.gz|" \
http://hackage.haskell.org/packages/archive/c2hs \
([\d\.]*\d)/