summaryrefslogtreecommitdiff
path: root/man/xpi-repack.1
blob: 657b3f7201dc486e03782dc4940058d5070a1f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.\"Copyright (c) 2010 Benjamin Drung <bdrung@ubuntu.com>
.\"
.\"Permission is hereby granted, free of charge, to any person obtaining a copy
.\"of this software and associated documentation files (the "Software"), to deal
.\"in the Software without restriction, including without limitation the rights
.\"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
.\"copies of the Software, and to permit persons to whom the Software is
.\"furnished to do so, subject to the following conditions:
.\"
.\"The above copyright notice and this permission notice shall be included in
.\"all copies or substantial portions of the Software.
.\"
.\"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
.\"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
.\"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
.\"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
.\"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
.\"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
.\"THE SOFTWARE.
.TH XPI-REPACK "1" "March 2010" "xpi-repack" "mozilla-devscripts suite"
.SH NAME
xpi-repack \- repack a xpi file into a tarball
.SH SYNOPSIS
.B xpi-repack
[\fIoptions\fP]
\fIxpi-file\fR
.SH DESCRIPTION
.B xpi-repack
is a helper tool for packaging XUL extensions. It repacks the given xpi file
into a proper tarball that can be used as source tarball for the Debian package.
It is designed to work with uscan. Here is an example for debian/watch:

version=3
.br
ftp://ftp.mozilla.org/pub/mozilla.org/addons/<id>/<package>-([\\d\\.]+)\-.*\\.xpi debian xpi-repack
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Display a brief help message.
.TP
\fB\-p\fR \fIpackage\fP, \fB\-\-package\fR=\fIpackage\fP
The \fIpackage\fP name will be used for naming the resulting tarball. If this
parameter is not provided, the source package name in debian/control will be
used.
.TP
\fB\-u\fR \fIversion\fP, \fB\-\-upstream\-version\fR=\fIversion\fP
The \fIversion\fP will be used for naming the resulting tarball. You have to
specify this parameter.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Print more information.
.SH AUTHOR
Benjamin Drung <bdrung@gmail.com>