diff options
author | Piotr Wójcik <chocimier@tlen.pl> | 2019-09-03 19:05:54 +0000 |
---|---|---|
committer | Piotr <chocimier@tlen.pl> | 2019-12-02 19:41:51 +0000 |
commit | ac5805f7741e58a6bc36fa07e5714aa19d703655 (patch) | |
tree | 467e3239aded603c6efb3f1c32409aab92a6627c | |
parent | 0f837b74eac0cffe3cea3f95c0ae301db05ed670 (diff) | |
download | void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.tar void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.tar.gz void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.tar.bz2 void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.tar.lz void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.tar.xz void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.tar.zst void-packages-ac5805f7741e58a6bc36fa07e5714aa19d703655.zip |
Manual.md: group documentation of license in one place
-rw-r--r-- | Manual.md | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Manual.md b/Manual.md index a7d6930606b..b0aea9cdff0 100644 --- a/Manual.md +++ b/Manual.md @@ -310,9 +310,7 @@ The following functions are defined by `xbps-src` and can be used on any templat Installs `file` into `usr/share/licenses/<pkgname>` in the pkg `$DESTDIR`. The optional 2nd argument can be used to change the - `file name`. Note: Custom licenses, - non-`GPL` licenses, `MIT`, `BSD` and `ISC` require the - license file to be supplied with the binary package. + `file name`. See [license](#var_license) for when to use it. - *vsv()* `vsv <service>` @@ -401,10 +399,19 @@ 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), -or string prefixed with `custom:` for licenses not listed there (see [vlicense](#vlicense)). + +- <a id="var_license"></a> +`license` A string matching the license's [SPDX Short identifier](https://spdx.org/licenses), +`Public Domain`, or string prefixed with `custom:` for other licenses. Multiple licenses should be separated by commas, Example: `GPL-3.0-or-later, custom:Hugware`. + Empty meta-packages that don't include any files + which thus have and require no license, should have set + `license="BSD-2-Clause"`. + + Note: `MIT`, `BSD`, `ISC` and custom licenses + require the license file to be supplied with the binary package. + - `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 at. Packages using `users.noreply.github.com` emails will not be @@ -860,9 +867,7 @@ set in the body of the template. - `meta` For `meta-packages`, i.e packages that only install local files or simply depend on additional packages. This build style does not install dependencies to the root directory, and only checks if a binary package is -available in repositories. If your meta-package doesn't include any files -which thus have and require no license, then you should also set -`license="BSD-2-Clause"`. +available in repositories. - `R-cran` For packages that are available on The Comprehensive R Archive Network (CRAN). The build style requires the `pkgname` to start with |