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
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
Runs a consistency check on all packages
chroot
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
Removes obsolete packages from <hostdir>/repocache.
configure <pkgname>
Configure a package (fetch + extract + configure).
fetch <pkgname>
Download package source distribution file(s).
extract <pkgname>
Extract package source distribution file(s) into the build directory.
By default set to <masterdir>/builddir.
fetch <pkgname>
Download package source distribution file(s).
patch <pkgname>
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 target package into <destdir> but not building the binary package
and not removing build directory for inspection purposes.
list
Lists installed packages in <masterdir>.
pkg <pkgname>
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 target package from <destdir>. If <pkgname>-<version> is not matched
from build template nothing is removed.