xbps-create(1)
| XBPS-CREATE(1) | General Commands Manual | XBPS-CREATE(1) |
NAME
xbps-create — XBPS
utility to create binary packages
SYNOPSIS
xbps-create |
[OPTIONS] destdir |
DESCRIPTION
The xbps-create utility creates XBPS
binary packages from files stored in a directory. 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.
OPTIONS
-A,--architecturestring- The target architecture for this package (required). Use noarch if package doesn't contain any arch-dependent file.
-B,--built-withstring- The package builder string, free form.
-C,--conflictslist- A list of package patterns that this package should conflict with, separated by whitespaces. Example: 'foo>=1.0 blah<1.0'.
-c,--changelogstring- The package changelog string.
-D,--dependencieslist- A list of package patterns this package depends on, separated by whitespaces. Example: 'foo>=1.0 blah-1.0_1'.
-F,--config-fileslist- A list of configuration files this package provides, separated by whitespace.
-G,--source-revisionsstring- 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.
-H,--homepagestring- The package homepage string.
-h,--help- Show the help message.
-l,--licensestring- The package license.
-M,--mutable-fileslist- A list of mutable files this package provides, separated by whitespaces.
-m,--maintainerstring- The package maintainer name and/or email contact.
-n,--pkgverstring- The package name/version tuple, e.g: 'foo-1.0_1'.
-P,--provideslist- A list of virtual packages this package provides, separated by whitespaces. Example: 'virtualpkg-9999 virtualpkg2-1.0_1'.
-p,--preserve- If set the package files will be preserved after being updated.
-q,--quiet- Enable quiet operation.
-R,--replaceslist- A list of package patterns this package replaces, separated by whitespaces. Example: 'foo>=1.0 blah>=2.0'.
-r,--revertslist- A list of versions this package reverts, separated by whitespaces. Example: '2.0_1 2.1_1'.
-S,--long-descstring- A long description for this package.
-s,--descstring- A short description for this package, one line with less than 80 characters.
-t,--tagslist- A list of tags (categories) this package should be part of, separated by whitespaces. Example: 'development nonfree'.
-V,--version- Show the version information.
--alternativeslist- A list of alternatives provided by this package, separated by whitespaces. Example: 'group:symlink:target group2:symlink:target'. If symlink is a relative path, the symlink will be created relative to target.
--build-optionsstring- A string containing the build options used in package.
--compressionnone | gzip | bzip2 | xz | lz4 | zstd- Set the binary package compression format. If unset, defaults to zstd.
--shlib-provideslist- A list of provided shared libraries, separated by whitespaces. Example: 'libfoo.so.2 libblah.so.1'.
--shlib-requireslist- A list of required shared libraries, separated by whitespaces. Example: 'libz.so.1 libfoo.so.2'.
--sourcepkgstring- The pkgver of the sourcepkg that was used to build this binary package.
EXIT STATUS
The xbps-create utility exits 0 on
success, and >0 if an error occurs. A descriptive error message
will be printed to stderr.
SEE ALSO
xbps-alternatives(1), xbps-checkvers(1), xbps-dgraph(1), xbps-digest(1), xbps-fbulk(1), xbps-fetch(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1), xbps-uunshare(1), xbps.d(5)
AUTHORS
Juan Romero Pardines <xtraeme@gmail.com>
BUGS
Probably, but I try to make this not happen. Use it under your own responsibility and enjoy your life.
Report bugs at https://github.com/void-linux/xbps/issues
| February 9, 2023 | Linux 6.12.85-6.12-alt1 |
