From dbbe76b83d2dc1cac6f44c6d46d2f73ce14f01b5 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 12 May 2015 23:51:07 +1000 Subject: makepkg: put further restrictions on pkgbase pkgbase should be subject to the same restrictions as pkgname Signed-off-by: Allan McRae --- doc/PKGBUILD.5.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index bc278f2e..770bd977 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -407,8 +407,10 @@ 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. The variable is not allowed to - begin with a hyphen. + element in the `pkgname` array is used. Valid characters for this + variable are alphanumerics, and any of the following characters: + ```@ . _ + -`''. Additionally, the variable is not allowed to start with + hyphens or dots. Install/Upgrade/Remove Scripting -- cgit v1.2.3-70-g09d2