summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-04-13 15:40:30 -0400
committerDan McGee <dan@archlinux.org>2012-04-20 18:14:45 -0500
commit5f71570ec48588bf24bfe786f40b500216084d07 (patch)
tree20c349cc04f66efb47b84221024b880be622751c /doc
parent133d174e60951dcca39d4c4063a85de75f52f6a8 (diff)
downloadpacman-5f71570ec48588bf24bfe786f40b500216084d07.tar.xz
makepkg: restrict allowed characters in pkgname
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD.5.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index fad93e5c..ffbb69bd 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -40,8 +40,9 @@ similar to `$_basekernver`.
*pkgname (array)*::
Either the name of the package or an array of names for split packages.
- Because it will be used in the package filename, this has to be unix-friendly.
- Members of the array are not allowed to start with hyphens.
+ Valid characters for members of this array are alphanumerics, and any of
+ the following characters: ```@ . _ + -`''. Additionally, names are not
+ allowed to start with hyphens.
*pkgver*::
The version of the software as released from the author (e.g., '2.7.1').