summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2018-06-04 14:44:01 +0200
committerAllan McRae <allan@archlinux.org>2018-06-18 05:15:51 +0200
commite6dbe82c0c52011b4abb46283ba606eb75577ce7 (patch)
treeaa61870f0c80342388d07b5a7d9b8f8aba48b7ce /doc
parent05a3641c76ba1c07dbec6fa1d9e9d3fcf6dec20c (diff)
downloadpacman-e6dbe82c0c52011b4abb46283ba606eb75577ce7.tar.gz
pacman-e6dbe82c0c52011b4abb46283ba606eb75577ce7.tar.xz
PKGBUILD.5: document restriction on pkgrel
The format of pkgrel was much more retrictive than described in the man page. Update the documentation to reflect this. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD.5.asciidoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/PKGBUILD.5.asciidoc b/doc/PKGBUILD.5.asciidoc
index ac26f3fe..b7e07165 100644
--- a/doc/PKGBUILD.5.asciidoc
+++ b/doc/PKGBUILD.5.asciidoc
@@ -56,11 +56,13 @@ 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
+ This is the release number specific to the distribution. This
allows package maintainers to make updates to the package's configure
flags, for example. This is typically set to '1' for each new upstream
software release and incremented for intermediate PKGBUILD updates. The
- variable is not allowed to contain hyphens.
+ variable is a postive integer, with an optional subrelease level
+ specified by adding another postive integer separated by a period
+ (i.e. in the form x.y).
*epoch*::
Used to force the package to be seen as newer than any previous versions