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

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 `$DESTDIR`. The optional 2nd argument can be used to change the
`file name`. `file name`.
- *vlicense()* `vlicense <file> [<name>]` - <a id="vlicense"></a>
*vlicense()* `vlicense <file> [<name>]`
Installs `file` into `usr/share/licenses/<pkgname>` in the pkg Installs `file` into `usr/share/licenses/<pkgname>` in the pkg
`$DESTDIR`. The optional 2nd argument can be used to change the `$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. license file to be supplied with the binary package.
- *vsv()* `vsv <service>` - *vsv()* `vsv <service>`
@ -386,8 +388,9 @@ The list of mandatory variables for a template:
- `homepage` A string pointing to the `upstream` homepage. - `homepage` A string pointing to the `upstream` homepage.
- `license` A string matching the license's [SPDX Short identifier](https://spdx.org/licenses) - `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`. 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 - `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 email for this field must be a valid email that you can be reached