[syrthes/master] watch file provided

Sylvestre Ledru sylvestre.ledru at scilab.org
Mon Sep 14 08:28:35 UTC 2009


---
 debian/watch |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/debian/watch b/debian/watch
index 26567a8..b6ef13d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,7 @@
 version=3
+# dversionmangle is used to remove the dfsg from the local debian version
+# filenamemangle is used to get ride of the () and save the tarball under the right name
+opts="dversionmangle=s/-dfsg.*//,filenamemangle=s/.*(\d)_(\d)_(\d).*/syrthes_$1.$2.$3.orig.tar.gz/" \
+http://research.edf.com/the-edf-offers/research-and-development/softwares/syrthes/syrthes-telechargement-en-600883.html .*/syrthes(\d)_(\d)_(\d).*\.tgz 
+
 
-# SYRTHES new releases cannot be watched from upstream web-site
-- 
1.5.6.5





More information about the debian-science-commits mailing list