summaryrefslogtreecommitdiffstats
path: root/contrib/PKGBUILD.vim
AgeCommit message (Collapse)AuthorFilesLines
2009-10-11Introduce new PKGBUILD variable `changelog`Cedric Staniewski1-0/+9
Currently, a changelog is added to a package if a specific file with a hardcoded name exists in the PKGBUILD's directory. This approach is not pretty and also inconsistent with the handling of install files, but it works. With the introduction of split PKGBUILDs, however, a drawback in this old behavior has arisen: you only have the possibility to include one specific changelog file in either every package defined in the PKGBUILD or in none. The use of an additional variable, `changelog`, works around this issue and makes it possible to include a changelog in only some of the packages, and besides, each package of the PKGBUILD can have its own changelog file. Signed-off-by: Cedric Staniewski <cedric@gmx.ca> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-07Update doc and vim syntax for arch=anyXavier Chantry1-1/+1
This fixes FS#15870 Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-22Merge branch 'maint'Dan McGee1-5/+5
2008-03-22PKGBUILD.vim: add keepend keyword for sha1/md5 fieldsChantry Xavier1-2/+2
in PKGBUILD.proto, we have the following line md5sums=() #generate with 'makepkg -g' if we add a md5sum inside quotes, or even just the quotes : md5sums=('') #generate with 'makepkg -g' the highlighting will be totally messed up. Adding the keepend keyword fixes this. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-16Add zipman makepkg option.Chantry Xavier1-1/+1
All other steps in tidy_install function were already controlled by an option in makepkg.conf, so this patch adds an option for the man page compression step too. This will allow to keep man pages uncompressed, which is required for some special meta man page, like the zshall one (see FS#4580). Ref: http://www.archlinux.org/pipermail/pacman-dev/2008-March/011472.html Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2008-03-10PKGBUILD.vim: improve invalid arch/license detection.Chantry Xavier1-3/+3
If we had : arch=(fake) The fake string would be highlighted because it's invalid. But if we had : arch=('fake') it didn't work. Fix this for both arch and license arrays. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2008-03-02contrib/PKGBUILD.vim: add optdepends + other fixesChantry Xavier1-14/+16
* Add optdepends keyword * license, backup and arch keywords should be arrays * Remove the little hack to color conflicts/provides/replaces keyword even without =(). These should be arrays too. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2008-02-28contrib: add 'groups' keyword to PKGBUILD.vimDan McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-10Slight updates to PKGBUILD.vimDan McGee1-52/+47
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-10Updated vim syntax fileAlessio 'mOLOk' Bolognino1-130/+81
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-10Add vim syntax file for PKGBUILDs to contrib/Alessio 'mOLOk' Bolognino1-0/+287
Thanks for the contribution. Signed-off-by: Dan McGee <dan@archlinux.org>