summaryrefslogtreecommitdiffstats
path: root/contrib/PKGBUILD.vim
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-01-26 11:25:23 +0100
committerAllan McRae <allan@archlinux.org>2015-02-01 12:19:04 +0100
commit9917930ae1f02fdf85c1ca2a35ee039f1a17368f (patch)
tree3612bf435fa5c40d13ee84b6365235a07e591d15 /contrib/PKGBUILD.vim
parentbd2e95b00be2ce36767811d2da6d291c85f9a3f1 (diff)
downloadpacman-9917930ae1f02fdf85c1ca2a35ee039f1a17368f.tar.gz
pacman-9917930ae1f02fdf85c1ca2a35ee039f1a17368f.tar.xz
add option to optimize PNG images with optipng
This can decrease package size by optimizing PNG image size. Images are just stored with better compression and/or filter options. The actual image content is not altered. Additionally this can automatically fix broken PNG images which caused some trouble lately. Signed-off-by: Christian Hesse <mail@eworm.de> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/PKGBUILD.vim')
-rw-r--r--contrib/PKGBUILD.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/PKGBUILD.vim b/contrib/PKGBUILD.vim
index cf264f93..35ca6bd9 100644
--- a/contrib/PKGBUILD.vim
+++ b/contrib/PKGBUILD.vim
@@ -211,7 +211,7 @@ hi def link pbValidSha512sums Number
" options
syn keyword pb_k_options options contained
-syn match pbOptions /\(no\)\?\(strip\|docs\|libtool\|emptydirs\|zipman\|purge\|upx\|distcc\|color\|ccache\|check\|sign\|makeflags\|buildflags\)/ contained
+syn match pbOptions /\(no\)\?\(strip\|docs\|libtool\|emptydirs\|zipman\|purge\|upx\|optipng\|distcc\|color\|ccache\|check\|sign\|makeflags\|buildflags\)/ contained
syn match pbOptionsNeg /\!/ contained
syn match pbOptionsDeprec /no/ contained
syn region pbOptionsGroup start=/^options=(/ end=/)/ contains=pb_k_options,pbOptions,pbOptionsNeg,pbOptionsDeprec,pbIllegalOption