summaryrefslogtreecommitdiff
path: root/doc/man/pkgctl-build.1.asciidoc
blob: 2637ebc3461f3ad27e69bac9025d761fcc0b7464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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

*-w, --worker* 'SLOT'::
	Name of the worker slot, useful for concurrent builds. By default the slot
	is automatically assigned to the current tty pts number. In case the caller
	is not a tty, choose a random slot between 1 and number of available
	processing units.

*--nocheck*::
	Do not run the check() function in the PKGBUILD

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

*--updpkgsums*::
	Regenerate the checksums

*-e, --edit*::
	Edit the PKGBUILD before building

Release Options
---------------

*-r, --release*::
	Automatically commit, tag and release after building +
	Specifying this option is required when using any of the following options
	in this section

*-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[]