Manual.md: document update_pkgname.
This commit is contained in:
parent
a5321d77d1
commit
e7c64b5da4
|
@ -444,6 +444,9 @@ these variables (in most cases, the sensible defaults work):
|
||||||
mentioned. If unset, defaults to `homepage` and the directories where
|
mentioned. If unset, defaults to `homepage` and the directories where
|
||||||
`distfiles` reside.
|
`distfiles` reside.
|
||||||
|
|
||||||
|
- `update_pkgname` is the package name the default pattern checks for.
|
||||||
|
If unset, defaults to `pkgname`.
|
||||||
|
|
||||||
- `update_pattern` is a perl-compatible regular expression
|
- `update_pattern` is a perl-compatible regular expression
|
||||||
matching the version number. Anchor the version number using `\K`
|
matching the version number. Anchor the version number using `\K`
|
||||||
and `(?=...)`. Example: `update_pattern='<b>\K[\d.]+(?=</b>)'`, this
|
and `(?=...)`. Example: `update_pattern='<b>\K[\d.]+(?=</b>)'`, this
|
||||||
|
|
Loading…
Reference in New Issue