From 5469161dad387b71d605cfeb2c6c369df6f939e3 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 28 Mar 2016 16:24:22 +1000 Subject: PKGBUILD.5: document that the pkgver() function runs after prepare() Signed-off-by: Allan McRae (cherry picked from commit 59010386106eded2ee67798fa80215f250a53761) --- doc/PKGBUILD.5.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index e410481b..4b4a22cd 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 -- cgit v1.2.3-70-g09d2