common/: add support for changelog field.

This commits allows ./xbps-src show to show the changelog field and for
changelog to be included with the -c/--changelog option via xbps-create.

Closes: #14102 [via git-merge-pr]
This commit is contained in:
maxice8
2018-05-03 14:26:43 -03:00
committed by Toyam Cox
parent 6a61601a2e
commit 8599efd9fd
4 changed files with 6 additions and 1 deletions

View File

@@ -579,6 +579,9 @@ Example:
A list is composed of three components separated by a colon: group, symlink and target.
i.e `alternatives="vi:/usr/bin/vi:/usr/bin/nvi ex:/usr/bin/ex:/usr/bin/nvi-ex"`.
- `changelog` URL to the changelog of the package, the changelog must be in plaintext.
i.e `changelog="https://raw.githubusercontent.com/user/package/master/CHANGELOG.md"`
<a id="explain_depends"></a>
#### About the many types of `depends` variable.