@comment PKG_FORMAT_REVISION:1.1
@name zh-kcfonts-1.05_2
@comment ORIGIN:chinese/kcfonts
@cwd /usr/local
@pkgdep pkg-config-0.25_1
@comment DEPORIGIN:devel/pkg-config
@pkgdep freetype2-2.4.7
@comment DEPORIGIN:print/freetype2
@pkgdep xproto-7.0.22
@comment DEPORIGIN:x11/xproto
@pkgdep libfontenc-1.1.0
@comment DEPORIGIN:x11-fonts/libfontenc
@pkgdep mkfontscale-1.0.9
@comment DEPORIGIN:x11-fonts/mkfontscale
@pkgdep mkfontdir-1.0.6
@comment DEPORIGIN:x11-fonts/mkfontdir
lib/X11/fonts/local/kc8x15.pcf.gz
@comment MD5:00fdc9456b1936555ea9171e8e31f100
lib/X11/fonts/local/kc12x24.pcf.gz
@comment MD5:d42ff3a55cc8a2192236d24b8d49092f
lib/X11/fonts/local/kc15f.pcf.gz
@comment MD5:332edcd45af18c98d6451c61c3edb915
lib/X11/fonts/local/kc24f.pcf.gz
@comment MD5:dd0cdc02c06916ca5d685a9b86771655
lib/X11/fonts/local/kc_fonts.alias
@comment MD5:2df6940164b1e65dffef17c4a27d2c9a
@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@exec cd %D/lib/X11/fonts/local ; cat kc_fonts.alias >> fonts.alias ; cp fonts.alias ..fonts.alias.. ; sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias..
@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@unexec if [ -s %D/lib/X11/fonts/local/fonts.alias ]; then perl -e 'while (<>) { if (!/kc-fixed/) { print <>} }' < %D/lib/X11/fonts/local/fonts.alias > /tmp/fonts.alias.$$; mv /tmp/fonts.alias.$$ %D/lib/X11/fonts/local/fonts.alias; fi
@unexec if [ `\head -1 %D/lib/X11/fonts/local/fonts.dir` = 0 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
@unexec if [ ! -s %D/lib/X11/fonts/local/fonts.alias ]; then rm -f %D/lib/X11/fonts/local/fonts.alias; fi
