mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
CODINGSTYLE.md: update for maintainer= variable
see https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/318
This commit is contained in:
parent
bacc9f3b1e
commit
01b9899a9f
1 changed files with 10 additions and 6 deletions
|
@ -142,12 +142,7 @@ APKBUILDs.
|
|||
|
||||
### Maintainer Comment
|
||||
|
||||
* All APKBUILDs contain exactly one maintainer comment containing a
|
||||
valid RFC 5322 address. For example, `# Maintainer: Max Mustermann
|
||||
<max@example.org>`.
|
||||
* The Maintainer comment should immediately follow the Contributor comment(s).
|
||||
* In the case of package being abandoned, the comment should still be present,
|
||||
but left empty: `# Maintainer:`.
|
||||
* Deprecated, see *Maintainer Variable* below.
|
||||
|
||||
## Metadata Variables
|
||||
|
||||
|
@ -158,6 +153,15 @@ Metadata Variables are variables used directly by abuild itself, e.g. `pkgname`
|
|||
* `pkgname` must only contain lowercase characters.
|
||||
* `pkgname` must match the name of the directory the `APKBUILD` file is located in.
|
||||
|
||||
### Maintainer Variable
|
||||
|
||||
* All APKBUILDs should contain exactly one variable named `maintainer`,
|
||||
containing a valid RFC 5322 address. For example,
|
||||
`maintainer="Max Mustermann <max@example.org>"`.
|
||||
* `maintainer` should immediately follow the Contributor comment(s), above `pkgname`.
|
||||
* In the case of package being abandoned, the variable should still be present,
|
||||
but left empty: `maintainer=""`.
|
||||
|
||||
### Variable Assignments
|
||||
|
||||
* Empty Metadata Variable assignments, e.g. `install=""` must be removed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue