[pacman-dev] [PATCH 07/10] PKGBUILD.5: document illegal variable contents
aepd87 at gmail.com
Fri Jun 25 19:16:42 EDT 2010
Signed-off-by: Andres P <aepd87 at gmail.com>
doc/PKGBUILD.5.txt | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index 2f49ca5..684800e 100644
@@ -38,18 +38,21 @@ This will prevent any possible name clashes with internal makepkg variables.
For example, to store the base kernel version in a variable, use something
similar to `$_basekernver`.
The name of the package. This has be a unix-friendly name as it will be
- used in the package filename.
+ used in the package filename. Members of the array are not allowed to start
+ with hyphens.
The version of the software as released from the author (e.g. '2.7.1').
+ The variable is not allowed to contain hyphens.
This is the release number specific to the Arch Linux release. This
allows package maintainers to make updates to the package's configure
flags, for example. A pkgrel of 1 is typically used for each upstream
- software release and is incremented for intermediate PKGBUILD updates.
+ software release and is incremented for intermediate PKGBUILD updates. The
+ variable is not allowed to contain hyphens.
This should be a brief description of the package and its functionality.
@@ -282,7 +285,8 @@ An optional global directive is available when building a split package:
The name used to refer to the group of packages in the output of makepkg
and in the naming of source-only tarballs. If not specified, the first
- element in the `pkgname` array is used.
+ element in the `pkgname` array is used. The variable is not allowed to
+ begin with a hyphen.
More information about the pacman-dev