From 626aecb4724fe5adc65f755d142804306fadb307 Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Mon, 20 Jun 2022 01:15:34 +0200 Subject: make: split out man page files into doc/man folder --- doc/man/makechrootpkg.1.asciidoc | 76 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 doc/man/makechrootpkg.1.asciidoc (limited to 'doc/man/makechrootpkg.1.asciidoc') diff --git a/doc/man/makechrootpkg.1.asciidoc b/doc/man/makechrootpkg.1.asciidoc new file mode 100644 index 0000000..12d32f1 --- /dev/null +++ b/doc/man/makechrootpkg.1.asciidoc @@ -0,0 +1,76 @@ +makechrootpkg(1) +================ + +Name +---- +makechrootpkg - Build a PKGBUILD in a given chroot environment + +Synopsis +-------- +makechrootpkg [OPTIONS] -r [--] [makepkg args] + +Description +----------- + +Run this script in a directory containing a PKGBUILD to build a package +inside a clean chroot. Arguments passed to this script after the +end-of-options marker (--) will be passed to makepkg. + +The chroot dir consists of the following directories: +/{root, copy} but only "root" is required +by default. The working copy will be created as needed + +The chroot "root" directory must be created via the following +command: + mkarchroot /root base-devel + +This script reads {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and PACKAGER +from makepkg.conf(5), if those variables are not part of the +environment. + +Default makepkg args: --syncdeps --noconfirm --log --holdver --skipinteg + +Options +------- + +*-h*:: + Show this usage message + +*-c*:: + Clean the chroot before building + +*-d* :: + Bind directory into build chroot as read-write + +*-D* :: + Bind directory into build chroot as read-only + +*-u*:: + Update the working copy of the chroot before building + This is useful for rebuilds without dirtying the pristine + chroot + +*-r* :: + The chroot dir to use + +*-I* :: + Install a package into the working copy of the chroot + +*-l* :: + The directory to use as the working copy of the chroot + Useful for maintaining multiple copies + Default: $USER + +*-n*:: + Run namcap on the build package + +*-C*:: + Run checkpkg on the build package + +*-T*:: + Build in a temporary directory + +*-U*:: + Run makepkg as a specified user + +include::include/footer.asciidoc[] -- cgit v1.2.3-54-g00ecf