diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-05-30 22:50:24 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-06-18 13:15:51 +1000 |
commit | 870d4c8fdd5e53c24c2a13cf1010b2536460fd8f (patch) | |
tree | 246932af00fc2097cf510057fd1815042c791816 /doc | |
parent | c37a06fe1d1fbd2be73adc725323e8a4665eeb09 (diff) | |
download | pacman-870d4c8fdd5e53c24c2a13cf1010b2536460fd8f.tar.xz |
libmakepkg/lint_pkgbuild: permit versioned optdepends
pacman accepts these, and there is no good reason to be more restrictive
ourselves; we should follow the example of "depends" here.
Update the documentation to actually state that this is supported.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PKGBUILD.5.asciidoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/PKGBUILD.5.asciidoc b/doc/PKGBUILD.5.asciidoc index 9634bd15..ac26f3fe 100644 --- a/doc/PKGBUILD.5.asciidoc +++ b/doc/PKGBUILD.5.asciidoc @@ -212,8 +212,9 @@ underscore and the architecture name e.g., 'checkdepends_x86_64=()'. An array of packages (and accompanying reasons) that are not essential for base functionality, but may be necessary to make full use of the contents of this package. optdepends are currently for informational purposes only - and are not utilized by pacman during dependency resolution. The format - for specifying optdepends is: + and are not utilized by pacman during dependency resolution. Packages in + this list follow the same format as depends, with an optional description + appended. The format for specifying optdepends descriptions is: optdepends=('python: for library bindings') + |