Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/PKGBUILD.5.txt
diff options
context:
space:
mode:
authorAndres P <aepd87@gmail.com>2010-06-25 18:46:42 -0430
committerDan McGee <dan@archlinux.org>2010-08-23 21:50:20 -0500
commit3de32a08126480f2a9cd67d09ef104accfde8992 (patch)
tree400b646a393147d946f2b5f3319b3531cb6bbe96 /doc/PKGBUILD.5.txt
parent71660f55b22050219cb582def2ee246084e55893 (diff)
PKGBUILD.5: document illegal variable contents
Signed-off-by: Andres P <aepd87@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/PKGBUILD.5.txt')
-rw-r--r--doc/PKGBUILD.5.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index 2f49ca57..684800eb 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -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`.
-*pkgname*::
+*pkgname (array)*::
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.
*pkgver*::
The version of the software as released from the author (e.g. '2.7.1').
+ The variable is not allowed to contain hyphens.
*pkgrel*::
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.
*pkgdesc*::
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:
*pkgbase*::
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.
Install/Upgrade/Remove Scripting
--------------------------------