From 55092d0fa79fc4f720bb697c3538a8fe23962f2d Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Tue, 20 Feb 2018 21:52:12 +0100 Subject: PKGBUILD.5: Mention that pkgver can't contain whitespace Signed-off-by: Rikard Falkeborn Signed-off-by: Allan McRae --- doc/PKGBUILD.5.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 18bc2a19..3d3d1b59 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -48,7 +48,8 @@ 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, forward slashes or hyphens. + The variable is not allowed to contain colons, forward slashes, hyphens + or whitespace. + The `pkgver` variable can be automatically updated by providing a `pkgver()` function in the PKGBUILD that outputs the new package version. -- cgit v1.2.3-24-g4f1b