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>
This commit is contained in:
Rikard Falkeborn 2018-02-20 21:52:12 +01:00 committed by Allan McRae
parent e4e0add629
commit 55092d0fa7

View file

@ -48,7 +48,8 @@ similar to `$_basekernver`.
*pkgver*:: *pkgver*::
The version of the software as released from the author (e.g., '2.7.1'). 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()` 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.