summaryrefslogtreecommitdiff
path: root/p/haskell-language-c
diff options
context:
space:
mode:
Diffstat (limited to 'p/haskell-language-c')
-rw-r--r--p/haskell-language-c/debian/changelog1
-rw-r--r--p/haskell-language-c/debian/watch3
2 files changed, 3 insertions, 1 deletions
diff --git a/p/haskell-language-c/debian/changelog b/p/haskell-language-c/debian/changelog
index 112725c46..8a7c55d17 100644
--- a/p/haskell-language-c/debian/changelog
+++ b/p/haskell-language-c/debian/changelog
@@ -4,6 +4,7 @@ haskell-language-c (0.3.1.1-2) 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.
-- Marco TĂșlio Gontijo e Silva <marcot@riseup.net> Tue, 11 Aug 2009 19:31:10 -0300
diff --git a/p/haskell-language-c/debian/watch b/p/haskell-language-c/debian/watch
index bc6369976..5cc06ae75 100644
--- a/p/haskell-language-c/debian/watch
+++ b/p/haskell-language-c/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|(.*)/$|language-c-$1.tar.gz|" \
http://hackage.haskell.org/packages/archive/language-c \
([\d\.]*\d)/