diff --git a/doc/makepkg.8.asciidoc b/doc/makepkg.8.asciidoc index 89ac5109..4fba6c12 100644 --- a/doc/makepkg.8.asciidoc +++ b/doc/makepkg.8.asciidoc @@ -271,6 +271,14 @@ Environment Variables Directory where the package will be built. Overrides the corresponding value defined in linkman:makepkg.conf[5]. +**BUILDSRCDIR=**"/path/to/directory":: + Directory where the package source will be extracted. Overrides the + corresponding value defined in linkman:makepkg.conf[5]. + +**BUILDPKGDIR=**"/path/to/directory":: + Directory where the package files will be packaged prior to archival. + Overrides the corresponding value defined in linkman:makepkg.conf[5]. + **CARCH=**"(i686|x86_64)":: Force build for a specific architecture. Useful for cross-compiling. Overrides the corresponding value defined in linkman:makepkg.conf[5]. diff --git a/doc/makepkg.conf.5.asciidoc b/doc/makepkg.conf.5.asciidoc index f67b673b..b5dae2ca 100644 --- a/doc/makepkg.conf.5.asciidoc +++ b/doc/makepkg.conf.5.asciidoc @@ -147,6 +147,18 @@ Options Incorrect use of `$startdir` in a PKGBUILD may cause building with this option to fail. +**BUILDSRCDIR=**"/path/to/directory":: + If this value is not set, package source will, by default, be extracted in + a subdirectory of the build directory. This option allows setting the build + extraction location to another directory. Incorrect use of `$startdir` in a + PKGBUILD may cause building with this option to fail. + +**BUILDPKGDIR=**"/path/to/directory":: + If this value is not set, package files will, by default, be packaged in a + subdirectory of the build directory. This option allows setting the build + packaging location to another directory. Incorrect use of `$startdir` in a + PKGBUILD may cause building with this option to fail. + **GPGKEY=**"":: Specify a key to use for GPG signing instead of the default key in the keyring. Can be overridden with makepkg's '\--key' option.