summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-02-20 21:52:12 +0100
committerAllan McRae <allan@archlinux.org>2018-03-14 12:44:31 +1000
commit55092d0fa79fc4f720bb697c3538a8fe23962f2d (patch)
tree90f909319f6288fdb52eef6c9d2f3212464ce486
parente4e0add629f054c71f780d48e3934576c1f055d9 (diff)
downloadpacman-55092d0fa79fc4f720bb697c3538a8fe23962f2d.tar.xz
PKGBUILD.5: Mention that pkgver can't contain whitespace
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--doc/PKGBUILD.5.txt3
1 files changed, 2 insertions, 1 deletions
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.