Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2023-01-14 18:20:29 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:11 +0200
commit1d7f9972151b0a52297880c8f9e5f28a1d7fe597 (patch)
treec33829e2d30756d219ea470b07abbabd76f899d0 /doc
parent79543824011ba51ddad6a4dda8c8c585ea8e5e0a (diff)
build: command to build packages inside a clean chroot
Diffstat (limited to 'doc')
-rw-r--r--doc/man/pkgctl-build.1.asciidoc80
-rw-r--r--doc/man/pkgctl.1.asciidoc4
2 files changed, 84 insertions, 0 deletions
diff --git a/doc/man/pkgctl-build.1.asciidoc b/doc/man/pkgctl-build.1.asciidoc
new file mode 100644
index 0000000..132c0a4
--- /dev/null
+++ b/doc/man/pkgctl-build.1.asciidoc
@@ -0,0 +1,80 @@
+pkgctl-build(1)
+===============
+
+Name
+----
+pkgctl-build - Build packages inside a clean chroot
+
+Synopsis
+--------
+pkgctl build [OPTIONS] [PATH...]
+
+Description
+-----------
+
+TODO
+
+Build Options
+-------------
+
+*--arch* 'ARCH'::
+ Specify architectures to build for (disables auto-detection)
+
+*--repo* 'REPO'::
+ Specify a target repository (disables auto-detection)
+
+*-s, --staging*::
+ Build against the staging counterpart of the auto-detected repo
+
+*-t, --testing*::
+ Build against the testing counterpart of the auto-detected repo
+
+*-o, --offload*::
+ Build on a remote server and transfer artifacts afterwards
+
+*-c, --clean*::
+ Recreate the chroot before building
+
+*-I, --install* 'FILE'::
+ Install a package into the working copy of the chroot
+
+PKGBUILD Options
+----------------
+
+*--pkgver*='PKGVER'::
+ Set pkgver, reset pkgrel and update checksums
+
+*--pkgrel*='PKGREL'::
+ Set pkgrel to a given value
+
+*--rebuild*::
+ Increment the current pkgrel variable
+
+*-e, --edit*::
+ Edit the PKGBUILD before building
+
+Release Options
+---------------
+
+*-r, --release*::
+ Automatically commit, tag and release after building
+
+*-m, --message* 'MSG'::
+ Use the given <msg> as the commit message
+
+*-u, --db-update*::
+ Automatically update the pacman database as last action
+
+Options
+-------
+
+*-h, --help*::
+ Show a help text
+
+See Also
+--------
+
+linkman:pkgctl-release[1]
+linkman:pkgctl-db-update[1]
+
+include::include/footer.asciidoc[]
diff --git a/doc/man/pkgctl.1.asciidoc b/doc/man/pkgctl.1.asciidoc
index 8da5d19..c5a6174 100644
--- a/doc/man/pkgctl.1.asciidoc
+++ b/doc/man/pkgctl.1.asciidoc
@@ -20,6 +20,9 @@ Subcommands
pkgctl auth::
Authenticate with services like GitLab
+pkgctl build::
+ Build packages inside a clean chroot
+
pkgctl db::
Pacman database modification for packge update, move etc
@@ -36,6 +39,7 @@ See Also
--------
linkman:pkgctl-auth[1]
+linkman:pkgctl-build[1]
linkman:pkgctl-db[1]
linkman:pkgctl-diff[1]
linkman:pkgctl-release[1]