summaryrefslogtreecommitdiff
path: root/p/haskell-language-c
diff options
context:
space:
mode:
authorMarco TĂșlio Gontijo e Silva <marcot@riseup.net>2010-01-18 04:33:40 +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:40 +0300
commit4df5a4a52a0bdd6ed1456bb139baecf9559fadff (patch)
treef12dd0625c8d6ca92b730e21d27e2e5650fbe3f6 /p/haskell-language-c
parent676cdc55a3220996589695ce993af778ca76adc8 (diff)
downloadDHG_packages-4df5a4a52a0bdd6ed1456bb139baecf9559fadff.tar.gz
haskell-language-c: debian/watch: Include package name in downloaded .tar.gz.
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)/