doc: document automatically updating the pkgver variable
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e0cd7b0293
commit
c887ccf905
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@ similar to `$_basekernver`.
|
|||
*pkgver*::
|
||||
The version of the software as released from the author (e.g., '2.7.1').
|
||||
The variable is not allowed to contain colons or hyphens.
|
||||
+
|
||||
The `pkgver` variable can be automatically updated by providing a `pkgver()` function
|
||||
in the PKGBUILD that outputs the new package version. This is run after downloading
|
||||
and extracting the sources so can use those files in determining the new `pkgver`.
|
||||
This is most useful when used with sources from version control systems (see below).
|
||||
|
||||
*pkgrel*::
|
||||
This is the release number specific to the Arch Linux release. This
|
||||
|
|
Loading…
Add table
Reference in a new issue