[pacman-dev] [PATCH 2/3] PKGBUILD.5: Mention that pkgver can't contain whitespace

Allan McRae allan at archlinux.org
Wed Mar 14 02:44:39 UTC 2018


On 21/02/18 06:52, Rikard Falkeborn wrote:
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
> ---
>  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 3b8c2ed1..cbd02e88 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.
> 

Thanks,
A


More information about the pacman-dev mailing list