summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-09-07 19:40:53 +0200
committerDan McGee <dan@archlinux.org>2009-09-07 15:13:38 -0500
commit2e7c569950f3a6f651fb4850cb320068e2261198 (patch)
tree6c6d99807cade9596d799dde446d9984dafb52d2
parent814cd7aee1f526479a24b62b01b24e25cd656d2b (diff)
downloadpacman-2e7c569950f3a6f651fb4850cb320068e2261198.tar.xz
Update doc and vim syntax for arch=any
This fixes FS#15870 Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--contrib/PKGBUILD.vim2
-rw-r--r--doc/PKGBUILD.5.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/PKGBUILD.vim b/contrib/PKGBUILD.vim
index 8f45ae44..994eaccb 100644
--- a/contrib/PKGBUILD.vim
+++ b/contrib/PKGBUILD.vim
@@ -66,7 +66,7 @@ syn region pbBackupGroup start=/^backup=(/ end=/)/ contains=pb_k_backup,pbValidB
" arch
syn keyword pb_k_arch arch contained
-syn keyword pbArch i686 x86_64 ppc contained
+syn keyword pbArch i686 x86_64 ppc any contained
syn match pbIllegalArch /[^='"() ]/ contained contains=pbArch
syn region pbArchGroup start=/^arch=(/ end=/)/ contains=pb_k_arch,pbArch,pbIllegalArch
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index ef6bace0..83cebcdb 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -118,7 +118,8 @@ name. The syntax is: `source=('filename::url')`.
*arch (array)*::
Defines on which architectures the given package is available (e.g.
- `arch=('i686' 'x86_64')`).
+ `arch=('i686' 'x86_64')`). Packages that contain no architecture specific
+ files may use arch=('any').
*backup (array)*::
A space-delimited array of filenames, without preceding slashes, that