xbps/bin/xbps-create/xbps-create.1

120 lines
4.0 KiB
Groff
Raw Permalink Normal View History

.Dd Feb 9, 2023
.Dt XBPS-CREATE 1
.Os
2012-10-02 13:44:20 +05:30
.Sh NAME
.Nm xbps-create
2012-11-05 14:09:10 +05:30
.Nd XBPS utility to create binary packages
2015-10-30 11:15:26 +05:30
.Sh SYNOPSIS
.Nm
2012-11-05 14:09:10 +05:30
.Op OPTIONS
2012-10-02 13:44:20 +05:30
.Ar destdir
.Sh DESCRIPTION
The
.Nm
2012-11-05 14:09:10 +05:30
utility creates XBPS binary packages from files stored in a directory.
2012-10-02 13:44:20 +05:30
The files must have correct permissions and location within this directory.
The behaviour of resulting package is changed by using multiple values in
the options.
.Sh OPTIONS
2012-11-06 15:03:29 +05:30
.Bl -tag -width -x
2012-11-05 14:09:10 +05:30
.It Fl A, Fl -architecture Ar string
2012-10-02 13:44:20 +05:30
The target architecture for this package (required). Use
.Ar noarch
if package doesn't contain any arch-dependent file.
2012-11-05 14:09:10 +05:30
.It Fl B, Fl -built-with Ar string
2012-10-02 13:44:20 +05:30
The package builder string, free form.
2012-11-05 14:09:10 +05:30
.It Fl C, Fl -conflicts Ar list
2012-10-02 13:44:20 +05:30
A list of package patterns that this package should conflict with, separated
by whitespaces. Example:
2012-10-02 13:44:20 +05:30
.Ar 'foo>=1.0 blah<1.0' .
.It Fl c, Fl -changelog Ar string
The package changelog string.
2012-11-05 14:09:10 +05:30
.It Fl D, Fl -dependencies Ar list
A list of package patterns this package depends on, separated by whitespaces. Example:
2012-10-02 13:44:20 +05:30
.Ar 'foo>=1.0 blah-1.0_1' .
2012-11-05 14:09:10 +05:30
.It Fl F, Fl -config-files Ar list
2015-10-30 11:15:26 +05:30
A list of configuration files this package provides, separated by whitespace.
2021-10-02 20:37:56 +05:30
.It Fl G, Fl -source-revisions Ar string
2015-10-30 11:15:26 +05:30
This sets a string with the git revisions of the sourcepkg that
was used to build this binary package. It is set automatically by xbps-src.
2012-11-05 14:09:10 +05:30
.It Fl H, Fl -homepage Ar string
2012-10-02 13:44:20 +05:30
The package homepage string.
2012-11-05 14:09:10 +05:30
.It Fl h, Fl -help
2015-10-30 11:15:26 +05:30
Show the help message.
2012-11-05 14:09:10 +05:30
.It Fl l, Fl -license Ar string
2012-10-02 13:44:20 +05:30
The package license.
2012-11-05 14:09:10 +05:30
.It Fl M, Fl -mutable-files Ar list
A list of mutable files this package provides, separated by whitespaces.
2012-11-05 14:09:10 +05:30
.It Fl m, Fl -maintainer Ar string
2012-10-02 13:44:20 +05:30
The package maintainer name and/or email contact.
2012-11-05 14:09:10 +05:30
.It Fl n, Fl -pkgver Ar string
2012-10-02 13:44:20 +05:30
The package name/version tuple, e.g:
.Ar 'foo-1.0_1' .
2012-11-05 14:09:10 +05:30
.It Fl P, Fl -provides Ar list
A list of virtual packages this package provides, separated by whitespaces. Example:
2012-10-02 13:44:20 +05:30
.Ar 'virtualpkg-9999 virtualpkg2-1.0_1' .
2012-11-05 14:09:10 +05:30
.It Fl p, Fl -preserve
2012-10-02 13:44:20 +05:30
If set the package files will be preserved after being updated.
2012-11-05 14:09:10 +05:30
.It Fl q, Fl -quiet
2012-10-02 13:44:20 +05:30
Enable quiet operation.
2012-11-05 14:09:10 +05:30
.It Fl R, Fl -replaces Ar list
A list of package patterns this package replaces, separated by whitespaces. Example:
2012-10-02 13:44:20 +05:30
.Ar 'foo>=1.0 blah>=2.0' .
2014-09-24 00:20:59 +05:30
.It Fl r, Fl -reverts Ar list
A list of versions this package reverts, separated by whitespaces. Example:
.Ar '2.0_1 2.1_1' .
2012-11-05 14:09:10 +05:30
.It Fl S, Fl -long-desc Ar string
2012-10-02 13:44:20 +05:30
A long description for this package.
2012-11-05 14:09:10 +05:30
.It Fl s, Fl -desc Ar string
2012-10-02 13:44:20 +05:30
A short description for this package, one line with less than 80 characters.
.It Fl t, Fl -tags Ar list
A list of tags (categories) this package should be part of, separated by whitespaces. Example:
.Ar 'development nonfree' .
2012-11-05 14:09:10 +05:30
.It Fl V, Fl -version
2015-10-30 11:15:26 +05:30
Show the version information.
.It Fl -alternatives Ar list
A list of alternatives provided by this package, separated by whitespaces. Example:
.Ar 'group:symlink:target group2:symlink:target' .
If
.Em symlink
is a relative path, the symlink will be created relative to
.Em target .
.It Fl -build-options Ar string
A string containing the build options used in package.
.It Fl -compression Ar none | gzip | bzip2 | xz | lz4 | zstd
Set the binary package compression format. If unset, defaults to
.Ar zstd .
.It Fl -shlib-provides Ar list
A list of provided shared libraries, separated by whitespaces. Example:
.Ar 'libfoo.so.2 libblah.so.1' .
.It Fl -shlib-requires Ar list
A list of required shared libraries, separated by whitespaces. Example:
.Ar 'libz.so.1 libfoo.so.2' .
.It Fl -sourcepkg Ar string
The pkgver of the sourcepkg that was used to build this binary package.
.El
2012-10-02 13:44:20 +05:30
.Sh SEE ALSO
.Xr xbps-alternatives 1 ,
.Xr xbps-checkvers 1 ,
.Xr xbps-dgraph 1 ,
.Xr xbps-digest 1 ,
2015-10-28 14:07:09 +05:30
.Xr xbps-fbulk 1 ,
.Xr xbps-fetch 1 ,
.Xr xbps-install 1 ,
.Xr xbps-pkgdb 1 ,
.Xr xbps-query 1 ,
.Xr xbps-reconfigure 1 ,
.Xr xbps-remove 1 ,
.Xr xbps-rindex 1 ,
.Xr xbps-uchroot 1 ,
.Xr xbps-uunshare 1 ,
.Xr xbps.d 5
2012-10-02 13:44:20 +05:30
.Sh AUTHORS
.An Juan Romero Pardines Aq Mt xtraeme@gmail.com
2012-10-02 13:44:20 +05:30
.Sh BUGS
Probably, but I try to make this not happen. Use it under your own
responsibility and enjoy your life.
2012-10-02 13:44:20 +05:30
.Pp
Report bugs at
.Lk https://github.com/void-linux/xbps/issues