[pacman-dev] [PATCH] PKGBUILD.vim : update valid licenses
Xavier Chantry
chantry.xavier at gmail.com
Thu May 13 09:44:34 EDT 2010
Updated list with :
echo $(pacman -Ql licenses | grep "/usr/share/licenses/common/.*/$" | cut
-d'/' -f6 )
Maybe PKGBUILD.vim could do this at runtime ?
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
---
contrib/PKGBUILD.vim | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/PKGBUILD.vim b/contrib/PKGBUILD.vim
index af0f981..55a5161 100644
--- a/contrib/PKGBUILD.vim
+++ b/contrib/PKGBUILD.vim
@@ -54,7 +54,7 @@ syn match pbUrlGroup /^url=.*/ contains=pbValidUrl,pb_k_url,pbIllegalUrl,shDoubl
" license
syn keyword pb_k_license license contained
-syn keyword pbLicense APACHE CDDL EPL FDL GPL LGPL MPL PHP RUBY ZLIB ISC MIT BSD contained
+syn keyword pbLicense APACHE CCPL CDDL CPL EPL FDL1.2 FDL1.3 GPL2 GPL3 LGPL2.1 LGPL3 LPPL MPL PHP PSF PerlArtistic RALINK RUBY ZPL contained
syn match pbLicenseCustom /custom\(:[[:alnum:]]*\)*/ contained
syn match pbIllegalLicense /[^='"() ]/ contained contains=pbLicenseCustom,pbLicense
syn region pbLicenseGroup start=/^license=(/ end=/)/ contains=pb_k_license,pbLicenseCustom,pbLicense,pbIllegalLicense
--
1.7.1
More information about the pacman-dev
mailing list