summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2020-02-10 02:13:19 +0100
committerAllan McRae <allan@archlinux.org>2020-03-09 08:05:24 +0100
commita40e652359ed8b2c5dec9d8efbead8a8afbfdf8d (patch)
tree9ae04fa0279171fbd172b6642bb982e8b5bcdd05 /doc
parente578903b60081bb8a7ddd094ed67946d5e48b719 (diff)
downloadpacman-a40e652359ed8b2c5dec9d8efbead8a8afbfdf8d.tar.gz
pacman-a40e652359ed8b2c5dec9d8efbead8a8afbfdf8d.tar.xz
makepkg: add basic support for alternatives
Alternatives are specified in makepkg via (e.g.): alternative=('sh') There should be a file (e.g.) sh.alternative alongside the PKGBUILD containing a list of symlinks to be created with the alternative is active. This file is stored in the root of the package as (e.g.) .ALTERNATIVE.sh. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD.5.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/PKGBUILD.5.asciidoc b/doc/PKGBUILD.5.asciidoc
index 2e2108a0..42958933 100644
--- a/doc/PKGBUILD.5.asciidoc
+++ b/doc/PKGBUILD.5.asciidoc
@@ -398,8 +398,8 @@ All options and directives for the split packages default to the global values
given in the PKGBUILD. Nevertheless, the following ones can be overridden within
each split package's packaging function:
`pkgdesc`, `arch`, `url`, `license`, `groups`, `depends`, `optdepends`,
-`provides`, `conflicts`, `replaces`, `backup`, `options`, `install`, and
-`changelog`.
+`provides`, `conflicts`, `replaces`, `backup`, `options`, `install`,
+`changelog` and `alternative`.
Note that makepkg does not consider split package `depends` when checking
if dependencies are installed before package building and with `--syncdeps`.