Skip to content
Permalink
Browse files

Manual.md: group documentation of license in one place

  • Loading branch information
Chocimier committed Sep 3, 2019
1 parent 0f837b7 commit ac5805f7741e58a6bc36fa07e5714aa19d703655
Showing with 13 additions and 8 deletions.
  1. +13 −8 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

0 comments on commit ac5805f

Please sign in to comment.
You can’t perform that action at this time.