[Pkg-mozext-commits] [SCM] webdeveloper Debian packaging branch, master, updated. c14976151a767dae4e7eb4218b706637223e2bb2
Andrea Veri
av at src.gnome.org
Mon Aug 8 22:30:47 UTC 2011
The following commit has been merged in the master branch:
commit 5897550a8d5004ed8498884b1bb1f5dcdbef5d77
Author: Andrea Veri <av at src.gnome.org>
Date: Tue Aug 9 00:19:10 2011 +0200
Added a nice trick that will unpack upstream's xpi, then it will bump up max-version to 5.0.* on the install.rdf file and repack everything again into a fixed .xpi file.
diff --git a/debian/rules b/debian/rules
index 50f43fb..0f698ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,12 @@
override_dh_auto_build:
find $(CURDIR) -type d -empty -delete
+ xpi-unpack builds/web-developer.xpi $(WORKDIR)
+ sed -i 's,<em:maxVersion>4.0.*</em:maxVersion>,<em:maxVersion>5.0.*</em:maxVersion>,' $(WORKDIR)/install.rdf
+ xpi-pack $(WORKDIR) xul-ext-webdeveloper.xpi
override_dh_auto_install:
- install-xpi --remove-license-files builds/web-developer.xpi
+ install-xpi --remove-license-files xul-ext-webdeveloper.xpi
CVSREV := 20110808
get-orig-source:
--
webdeveloper Debian packaging
More information about the Pkg-mozext-commits
mailing list