summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-03-28 08:24:22 +0200
committerAllan McRae <allan@archlinux.org>2016-03-28 09:17:17 +0200
commit59010386106eded2ee67798fa80215f250a53761 (patch)
treede9e2709bb74adfaad7e816b5cf58a58fb58e969
parent2ee1706a72858ea365c0e7a1a72d92ef2dae2f75 (diff)
downloadpacman-59010386106eded2ee67798fa80215f250a53761.tar.gz
pacman-59010386106eded2ee67798fa80215f250a53761.tar.xz
PKGBUILD.5: document that the pkgver() function runs after prepare()
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--doc/PKGBUILD.5.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index e19a81c9..08ef3e4d 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -52,10 +52,10 @@ similar to `$_basekernver`.
+
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 it can use those
-files in determining the new `pkgver`.
-This is most useful when used with sources from version control systems (see
-below).
+This is run after downloading and extracting the sources and running the
+`prepare()` function (if present), so it 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