Manual.md: document update_pkgname.

This commit is contained in:
Christian Neukirchen 2014-11-01 20:39:18 +01:00
parent a5321d77d1
commit e7c64b5da4
1 changed files with 3 additions and 0 deletions

View File

@ -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