PKGBUILD.5: document that the pkgver() function runs after prepare()

Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 5901038610)
This commit is contained in:
Allan McRae 2016-03-28 16:24:22 +10:00
parent 07ccbc2691
commit 5469161dad

View file

@ -52,10 +52,10 @@ similar to `$_basekernver`.
+ +
The `pkgver` variable can be automatically updated by providing a `pkgver()` The `pkgver` variable can be automatically updated by providing a `pkgver()`
function in the PKGBUILD that outputs the new package version. function in the PKGBUILD that outputs the new package version.
This is run after downloading and extracting the sources so it can use those This is run after downloading and extracting the sources and running the
files in determining the new `pkgver`. `prepare()` function (if present), so it can use those files in determining the
This is most useful when used with sources from version control systems (see new `pkgver`. This is most useful when used with sources from version control
below). systems (see below).
*pkgrel*:: *pkgrel*::
This is the release number specific to the Arch Linux release. This This is the release number specific to the Arch Linux release. This