]> pd.if.org Git - zpackage/blob - doc/zpm-newpackage.8
remove stray debug fprintf
[zpackage] / doc / zpm-newpackage.8
1 .TH zpm-newpackage 8 2019-02-20 "ZPM 0.3"
2 .SH NAME
3 zpm-newpackage \- run newpackage
4 .SH SYNOPSIS
5                 b) builddate="$OPTARG" ;;
6 .B zpm newpackage
7 [
8 .BI \-f " pkgfile"
9 ]
10 [
11 .B \-CI
12 ]
13 [
14 .BI \-d description
15 ]
16 [
17 .BI \-u url
18 ]
19 [
20 .BI \-l licenses
21 ]
22 [
23 .BI \-p packager
24 ]
25 [
26 .BI \-b builddate
27 ]
28 .I package
29 .SH DESCRIPTION
30 \fBzpm-newpackage\fR
31 Creates a new package.
32 .SH OPTIONS
33 .TP
34 .BI \-f package
35 specify the package file to create the package in.
36 .TP
37 .B \-C
38 Create the package file if it does not exist.
39 .TP
40 .B \-I
41 Do nothing if the package already exists.  Without this option,
42 if the package already exists, it is an error.
43 .TP
44 .BI \-d description
45 Set the package description.
46 .TP
47 .BI \-u url
48 Set the package url.
49 .TP
50 .BI \-l license
51 Set the package license.
52 .TP
53 .BI \-p packager
54 Set the package packager.
55 .TP
56 .BI \-b builddate
57 Set the package builddate.  Defaults to the current timestamp.
58 .SH EXAMPLES
59 .TP
60 .B zpm newpackage -f foo-1.0-1 foo-1.0-1
61 Create a new package.
62 .SH EXIT STATUS
63 0 on success non zero on failure
64 .SH FILES
65 /var/lib/zpm/local.db
66 .SH ENVIRONMENT
67 ZPMDB
68 .SH AUTHOR
69 Nathan Wagner
70 .SH SEE ALSO
71 .BR zpm (8)