xbps-src: add explanation of patch phase and fix ordering

This commit is contained in:
maxice8 2019-02-26 10:26:29 -03:00 committed by maxice8
parent 2c4a329a13
commit 6f0342c65e
1 changed files with 22 additions and 18 deletions

View File

@ -27,46 +27,50 @@ bootstrap-update
Updates bootstrap packages with latest versions available from registered Updates bootstrap packages with latest versions available from registered
repositories in the XBPS configuration file. repositories in the XBPS configuration file.
build <pkgname>
Build package source (fetch + extract + configure + build).
check <pkgname>
Run the package check(s) after building the package source.
consistency-check consistency-check
Runs a consistency check on all packages Runs a consistency check on all packages
chroot chroot
Enter to the chroot in <masterdir>. Enter to the chroot in <masterdir>.
clean [pkgname]
Removes auto dependencies, cleans up <masterdir>/builddir and <masterdir>/destdir.
If <pkgname> argument is specified, package files from <masterdir>/destdir and its
build directory in <masterdir>/buiddir are removed.
clean-repocache clean-repocache
Removes obsolete packages from <hostdir>/repocache. Removes obsolete packages from <hostdir>/repocache.
configure <pkgname> fetch <pkgname>
Configure a package (fetch + extract + configure). Download package source distribution file(s).
extract <pkgname> extract <pkgname>
Extract package source distribution file(s) into the build directory. Extract package source distribution file(s) into the build directory.
By default set to <masterdir>/builddir. By default set to <masterdir>/builddir.
fetch <pkgname> patch <pkgname>
Download package source distribution file(s). Patch the package sources and perform other operations required to
prepare a package for configuring and building
configure <pkgname>
Configure a package (fetch + extract + patch + configure).
build <pkgname>
Build package source (fetch + extract + patch + configure + build).
check <pkgname>
Run the package check(s) after building the package source.
install <pkgname> install <pkgname>
Install target package into <destdir> but not building the binary package Install target package into <destdir> but not building the binary package
and not removing build directory for inspection purposes. and not removing build directory for inspection purposes.
list
Lists installed packages in <masterdir>.
pkg <pkgname> pkg <pkgname>
Build binary package for <pkgname> and all required dependencies. Build binary package for <pkgname> and all required dependencies.
clean [pkgname]
Removes auto dependencies, cleans up <masterdir>/builddir and <masterdir>/destdir.
If <pkgname> argument is specified, package files from <masterdir>/destdir and its
build directory in <masterdir>/buiddir are removed.
list
Lists installed packages in <masterdir>.
remove <pkgname> remove <pkgname>
Remove target package from <destdir>. If <pkgname>-<version> is not matched Remove target package from <destdir>. If <pkgname>-<version> is not matched
from build template nothing is removed. from build template nothing is removed.