]> pd.if.org Git - zpackage/blobdiff - doc/zpm-newpackage.8
let newpackage set additional fields
[zpackage] / doc / zpm-newpackage.8
diff --git a/doc/zpm-newpackage.8 b/doc/zpm-newpackage.8
new file mode 100644 (file)
index 0000000..b7dd498
--- /dev/null
@@ -0,0 +1,71 @@
+.TH zpm-newpackage 8 2019-02-20 "ZPM 0.3"
+.SH NAME
+zpm-newpackage \- run newpackage
+.SH SYNOPSIS
+               b) builddate="$OPTARG" ;;
+.B zpm newpackage
+[
+.BI \-f " pkgfile"
+]
+[
+.B \-CI
+]
+[
+.BI \-d description
+]
+[
+.BI \-u url
+]
+[
+.BI \-l licenses
+]
+[
+.BI \-p packager
+]
+[
+.BI \-b builddate
+]
+.I package
+.SH DESCRIPTION
+\fBzpm-newpackage\fR
+Creates a new package.
+.SH OPTIONS
+.TP
+.BI \-f package
+specify the package file to create the package in.
+.TP
+.B \-C
+Create the package file if it does not exist.
+.TP
+.B \-I
+Do nothing if the package already exists.  Without this option,
+if the package already exists, it is an error.
+.TP
+.BI \-d description
+Set the package description.
+.TP
+.BI \-u url
+Set the package url.
+.TP
+.BI \-l license
+Set the package license.
+.TP
+.BI \-p packager
+Set the package packager.
+.TP
+.BI \-b builddate
+Set the package builddate.  Defaults to the current timestamp.
+.SH EXAMPLES
+.TP
+.B zpm newpackage -f foo-1.0-1 foo-1.0-1
+Create a new package.
+.SH EXIT STATUS
+0 on success non zero on failure
+.SH FILES
+/var/lib/zpm/local.db
+.SH ENVIRONMENT
+ZPMDB
+.SH AUTHOR
+Nathan Wagner
+.SH SEE ALSO
+.BR zpm (8)