[Pkg-mozext-commits] [wot] 220/226: Provide a get-orig-source target
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 57e7c25b0ad6f733617e12519d1ad80860472c79
Author: David Prévot <david at tilapin.org>
Date: Thu Apr 30 19:50:17 2015 -0400
Provide a get-orig-source target
Upstream doesn’t seem to publish their new versions on AMO anymore, and
doesn’t seem to provide a way to know the lastest version number.
Git-Dch: Ignore
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index e3f9169..87e765f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,10 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs $(CURDIR)/debian/upstream-changelog
+
+get-orig-source:
+ wget https://www.mywot.com/files/downloads/wot-latest.xpi
+ mv wot-latest.xpi ..
+ VERSION=$$(unzip -c ../wot-latest.xpi install.rdf|sed -nr 's,.*<em:version>(.+)</em:version>.*,\1,p') && \
+ xpi-repack --upstream-version=$$VERSION ../wot-latest.xpi && \
+ echo Upstream version $$VERSION downloaded
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list