summaryrefslogtreecommitdiff
path: root/doc/makepkg.8.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makepkg.8.txt')
-rw-r--r--doc/makepkg.8.txt30
1 files changed, 20 insertions, 10 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
index 57d6f6eb..ffc01cd5 100644
--- a/doc/makepkg.8.txt
+++ b/doc/makepkg.8.txt
@@ -11,24 +11,24 @@ makepkg - package build utility
Synopsis
--------
-makepkg [options]
+'makepkg' [options]
Description
-----------
-makepkg is a script to automate the building of packages. The requirements for
+'makepkg' is a script to automate the building of packages. The requirements for
using the script are a build-capable \*nix platform and a custom build script
for each package you wish to build (known as a PKGBUILD). See
linkman:PKGBUILD[5] for details on creating your own build scripts.
The advantage to a script-based build is that the work is only done once. Once
-you have the build script for a package, makepkg will do the rest: download and
+you have the build script for a package, 'makepkg' will do the rest: download and
validate source files, check dependencies, configure the build-time settings,
build the package, install the package into a temporary root, make
customizations, generate meta-info, and package the whole thing up for pacman
to use.
-NOTE: makepkg uses your current locale by default and does not unset it when
+NOTE: 'makepkg' uses your current locale by default and does not unset it when
building packages. If you wish to share your build output with others when
seeking help or for other purposes, you may wish to run "`LC_ALL=C makepkg`" so
your logs and output are not localized.
@@ -48,10 +48,6 @@ Options
*-c, \--clean*::
Clean up leftover work files and directories after a successful build.
-*-C, \--cleancache*::
- Removes all cached source files from the directory specified in `SRCDEST`
- in linkman:makepkg.conf[5].
-
*\--config* <file>::
Use an alternate config file instead of the +{sysconfdir}/makepkg.conf+
default.
@@ -151,8 +147,7 @@ Options
all source files of the package need to be present or downloadable.
*\--pkg <list>*::
- Only build listed packages from a split package. The use of quotes is
- necessary when specifying multiple packages. e.g. `--pkg "pkg1 pkg3"`
+ Only build listed packages from a split package.
*\--check*::
Run the check() function in the PKGBUILD, overriding the setting in
@@ -161,6 +156,18 @@ Options
*\--nocheck*::
Do not run the check() function in the PKGBUILD or handle the checkdepends.
+*\--sign*::
+ Sign the resulting package with gpg, overriding the setting in
+ linkman:makepkg.conf[5].
+
+*\--nosign*::
+ Do not create a signature for the built package.
+
+*\--key* <key>::
+ Specify a key to use when signing packages, overriding the GPGKEY setting
+ in linkman:makepkg.conf[5]. If not specified in either location, the
+ default key from the keyring will be used.
+
*\--noconfirm*::
(Passed to pacman) Prevent pacman from waiting for user input before
proceeding with operations.
@@ -194,6 +201,9 @@ Environment Variables
Folder where the downloaded sources will be stored. Overrides the
corresponding value defined in linkman:makepkg.conf[5].
+**BUILDDIR=**"/path/to/folder"::
+ Folder where the package will be built. Overrides the corresponding
+ value defined in linkman:makepkg.conf[5].
Configuration
-------------