Source: goldendict
Version: 1.5.0~git20131003-1+b2
Severity: normal
Tags: patch
thanks

The attached patch updates debian/watch to refer to the new location of
goldendict releases at github.com.

Cheers,
Felix

>From 4db1178acfe9bd74a5aff8e98474e68365fd73a9 Mon Sep 17 00:00:00 2001
From: Felix Gruber <fel...@gmx.de>
Date: Mon, 20 Jul 2015 20:24:11 +0200
Subject: [PATCH] update debian/watch

---
 debian/watch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/watch b/debian/watch
index fb579fb..387f101 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
-opts=dversionmangle=s/\+deb\d+$// \
-http://goldendict.berlios.de/download.php \
-	http://prdownload.berlios.de/goldendict/goldendict-(\d+(?:\.\d+)+)-src.*?.tar.bz2
+opts=uversionmangle=s/(\d)\-?((RC|rc)\d*?)$/$1~$2/,\
+     filenamemangle=s/.+\/(\d\S*)(-.*)?\.tar\.gz/goldendict-$1\.tar\.gz/ \
+  https://github.com/goldendict/goldendict/releases .*/(\d\S*)\.tar\.gz
-- 
2.1.4

Reply via email to