summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCedric Staniewski <cedric@gmx.ca>2009-12-02 19:04:32 +0100
committerDan McGee <dan@archlinux.org>2009-12-13 23:26:54 -0600
commit66c6d288fd44b2f148860c7abbd1ed56b31a9238 (patch)
treee3424ecf91e9b5cd7e3acafa21a9e5e745f7d15b /doc
parentb805fe58ae8e762f2d663cb6416005521b76e182 (diff)
downloadpacman-66c6d288fd44b2f148860c7abbd1ed56b31a9238.tar.xz
makepkg: allow to specify an alternative pacman command
If PACMAN environment variable is set, makepkg will try to use this command to check for installed dependencies and to install or remove packages. Otherwise, makepkg will fall back to pacman. Implements FS#13028. Signed-off-by: Cedric Staniewski <cedric@gmx.ca> Signed-off-by: Allan McRae <allan@archlinux.org> [Dan: move envvar section in manpage] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.8.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
index 18ee6ed2..7e89fa27 100644
--- a/doc/makepkg.8.txt
+++ b/doc/makepkg.8.txt
@@ -170,6 +170,15 @@ separate utility 'versionpkg'. See linkman:PKGBUILD[5] for details on how to
set up a development PKGBUILD.
+Environment Variables
+---------------------
+*PACMAN*::
+ The command that will be used to check for missing dependencies and to
+ install and remove packages. Pacman's -U, -T, -S and -Rns operations
+ must be supported by this command. If the variable is not set or
+ empty, makepkg will fall back to `pacman'.
+
+
Configuration
-------------
See linkman:makepkg.conf[5] for more details on configuring makepkg using the