Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/man/pkgctl-build.1.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/pkgctl-build.1.asciidoc')
-rw-r--r--doc/man/pkgctl-build.1.asciidoc28
1 files changed, 25 insertions, 3 deletions
diff --git a/doc/man/pkgctl-build.1.asciidoc b/doc/man/pkgctl-build.1.asciidoc
index f68e7cf..f7abdeb 100644
--- a/doc/man/pkgctl-build.1.asciidoc
+++ b/doc/man/pkgctl-build.1.asciidoc
@@ -21,7 +21,10 @@ Build Options
Specify architectures to build for (disables auto-detection)
*--repo* 'REPO'::
- Specify a target repository (disables auto-detection)
+ Specify target repository for new packages not in any official repo.
+ Fallback to `'extra'` when building packages that are not present in any
+ official repository yet. Using this option is disallowed if the package is
+ already released, as it would circumvent the auto-detection safeguard.
*-s, --staging*::
Build against the staging counterpart of the auto-detected repo
@@ -35,8 +38,9 @@ Build Options
*-c, --clean*::
Recreate the chroot before building
-*-I, --install* 'FILE'::
- Install a package into the working copy of the chroot
+*--inspect* 'WHEN'::
+ Spawn an interactive shell to inspect the chroot after building. Useful to ease the debugging of a package build. +
+ Possible values for 'WHEN' are `'never'`, `'always'` or `'failure'`
*-w, --worker* 'SLOT'::
Name of the worker slot, useful for concurrent builds. By default the slot
@@ -47,6 +51,17 @@ Build Options
*--nocheck*::
Do not run the check() function in the PKGBUILD
+Install Options
+---------------
+
+*-I, --install-to-chroot* 'FILE'::
+ Install a package to the working copy of the chroot
+
+*-i, --install-to-host* 'MODE'::
+ Install the built packages to the host system. Useful when one wants to verify that the package works as intended.
+ * When 'MODE' is 'all', this installs all built packages
+ * When 'MODE' is 'auto', this installs all built packages which are currently installed
+
PKGBUILD Options
----------------
@@ -59,6 +74,13 @@ PKGBUILD Options
*--rebuild*::
Increment the current pkgrel variable
+*--update-checksums*::
+ Force computation and update of the checksums by disabling auto-detection. +
+ Should only be used in special circumstances, like when adding new patch
+ files to the source array. During regular packaging operations, checksums
+ are either automatically updated when upgrading a package using `--pkgver`
+ or should remain immutable during rebuilds.
+
*-e, --edit*::
Edit the PKGBUILD before building