diff options
author | Dan McGee <dan@archlinux.org> | 2010-12-13 02:53:20 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-13 02:53:20 +0100 |
commit | a35610beba1b12c37ec26ec878d3701dd669db42 (patch) | |
tree | 62928bff67d6f63166da6a7736ab958f54297179 /contrib | |
parent | 4fb3cfc48f626f84329c78351d6a8710255a35e3 (diff) | |
parent | 5c8083baa4a831b16adcc3c1c35d7438f5bdcc3e (diff) | |
download | pacman-a35610beba1b12c37ec26ec878d3701dd669db42.tar.gz pacman-a35610beba1b12c37ec26ec878d3701dd669db42.tar.xz |
Merge branch 'maint'
Conflicts:
lib/libalpm/be_local.c
lib/libalpm/trans.c
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/PKGBUILD.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/PKGBUILD.vim b/contrib/PKGBUILD.vim index c2b60450..a50ca129 100644 --- a/contrib/PKGBUILD.vim +++ b/contrib/PKGBUILD.vim @@ -67,10 +67,13 @@ syn match pbUrlGroup /^url=.*/ contains=pbValidUrl,pb_k_url,pbIllegalUrl,shDoubl " license syn keyword pb_k_license license contained -syn keyword pbLicense APACHE CCPL CDDL CPL EPL FDL FDL1.2 FDL1.3 GPL GPL2 GPL3 LGPL LGPL2.1 LGPL3 LPPL MPL PHP PSF PerlArtistic RALINK RUBY ZPL contained +" echo $(pacman -Ql licenses | grep '/usr/share/licenses/common/' | cut -d'/' -f6 | sort -u) +syn keyword pbLicense APACHE CCPL CDDL CPL EPL FDL FDL1.2 FDL1.3 GPL GPL2 GPL3 LGPL LGPL2.1 LGPL3 LPPL MPL PerlArtistic PHP PSF RALINK RUBY ZPL contained +" special cases from http://wiki.archlinux.org/index.php/Arch_Packaging_Standards +syn keyword pbLicenseSpecial BSD MIT ZLIB Python 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 +syn match pbIllegalLicense /[^='"() ]/ contained contains=pbLicenseCustom,pbLicenseSpecial,pbLicense +syn region pbLicenseGroup start=/^license=(/ end=/)/ contains=pb_k_license,pbLicenseCustom,pbLicenseSpecial,pbLicense,pbIllegalLicense " backup syn keyword pb_k_backup backup contained |