Manual.md: document non-SPDX licenses

This commit is contained in:
Piotr Wójcik 2018-11-17 18:20:31 +01:00 committed by maxice8
parent d60c619b3f
commit db2459ae93
1 changed files with 11 additions and 8 deletions

View File

@ -304,11 +304,13 @@ The following functions are defined by `xbps-src` and can be used on any templat
`$DESTDIR`. The optional 2nd argument can be used to change the
`file name`.
- *vlicense()* `vlicense <file> [<name>]`
- <a id="vlicense"></a>
*vlicense()* `vlicense <file> [<name>]`
Installs `file` into `usr/share/licenses/<pkgname>` in the pkg
`$DESTDIR`. The optional 2nd argument can be used to change the
`file name`. Note: Non-`GPL` licenses, `MIT`, `BSD` and `ISC` require the
`file name`. Note: Custom licenses,
non-`GPL` licenses, `MIT`, `BSD` and `ISC` require the
license file to be supplied with the binary package.
- *vsv()* `vsv <service>`
@ -386,8 +388,9 @@ The list of mandatory variables for a template:
- `homepage` A string pointing to the `upstream` homepage.
- `license` A string matching the license's [SPDX Short identifier](https://spdx.org/licenses)
Multiple licenses should be separated by commas, Example: `GPL-3.0-or-later, LGPL-2.1-only`.
- `license` A string matching the license's [SPDX Short identifier](https://spdx.org/licenses),
or string prefixed with `custom:` for licenses not listed there (see [vlicense](#vlicense)).
Multiple licenses should be separated by commas, Example: `GPL-3.0-or-later, custom:Hugware`.
- `maintainer` A string in the form of `name <user@domain>`. The
email for this field must be a valid email that you can be reached