summaryrefslogtreecommitdiff
path: root/p/haskell-sha
diff options
context:
space:
mode:
authorMarco TĂșlio Gontijo e Silva <marcot@riseup.net>2010-01-18 04:33:42 +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:42 +0300
commit315d8c84f99a24dad1cb5811cf34732ec9a6e425 (patch)
tree7facd170df0c4bcfaa0e9e8552df84c989b91ed7 /p/haskell-sha
parent02e18fb14348b8788c1a60a0bd9c925c7862a994 (diff)
downloadDHG_packages-315d8c84f99a24dad1cb5811cf34732ec9a6e425.tar.gz
haskell-sha: debian/watch: Include package name in downloaded .tar.gz.
Diffstat (limited to 'p/haskell-sha')
-rw-r--r--p/haskell-sha/debian/changelog1
-rw-r--r--p/haskell-sha/debian/watch3
2 files changed, 3 insertions, 1 deletions
diff --git a/p/haskell-sha/debian/changelog b/p/haskell-sha/debian/changelog
index d52124436..ee6088399 100644
--- a/p/haskell-sha/debian/changelog
+++ b/p/haskell-sha/debian/changelog
@@ -6,6 +6,7 @@ haskell-sha (1.4.0-2) UNRELEASED; urgency=low
[ Marco TĂșlio Gontijo e Silva ]
* debian/watch: Add .tar.gz to downloaded filename.
+ * debian/watch: Include package name in downloaded .tar.gz.
-- Giovanni Mascellani <mascellani@poisson.phc.unipi.it> Tue, 29 Dec 2009 14:43:09 +0100
diff --git a/p/haskell-sha/debian/watch b/p/haskell-sha/debian/watch
index 5cde5609b..43ed14f9d 100644
--- a/p/haskell-sha/debian/watch
+++ b/p/haskell-sha/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|(.*)/$|SHA-$1.tar.gz|" \
http://hackage.haskell.org/packages/archive/SHA \
([\d\.]*\d)/