@comment PKG_FORMAT_REVISION:1.1
@name zh-moettf-2.0_2
@comment ORIGIN:chinese/moettf
@cwd /usr/local
@pkgdep expat-2.0.1_1
@comment DEPORIGIN:textproc/expat2
@pkgdep pkg-config-0.25_1
@comment DEPORIGIN:devel/pkg-config
@pkgdep xproto-7.0.16
@comment DEPORIGIN:x11/xproto
@pkgdep libfontenc-1.0.5
@comment DEPORIGIN:x11-fonts/libfontenc
@pkgdep freetype2-2.4.4
@comment DEPORIGIN:print/freetype2
@pkgdep mkfontscale-1.0.7
@comment DEPORIGIN:x11-fonts/mkfontscale
@pkgdep mkfontdir-1.0.5
@comment DEPORIGIN:x11-fonts/mkfontdir
@pkgdep fontconfig-2.8.0,1
@comment DEPORIGIN:x11-fonts/fontconfig
@pkgdep zh-ttfm-0.9.5_3
@comment DEPORIGIN:chinese/ttfm
@exec sed -e "s/ ° ê ¦ r ¼ Ð · Ç § º Å é/twmoe_sung/g" -e "s/ t w m o e _ k a i/twmoe_kai/g" /usr/local/lib/X11/fonts/TrueType/fonts.dir > /usr/local/lib/X11/fonts/TrueType/fonts.dir.tmp && mv /usr/local/lib/X11/fonts/TrueType/fonts.dir.tmp /usr/local/lib/X11/fonts/TrueType/fonts.dir
@exec sed -e "s/ ° ê ¦ r ¼ Ð · Ç § º Å é/twmoe_sung/g" -e "s/ t w m o e _ k a i/twmoe_kai/g" /usr/local/lib/X11/fonts/TrueType/fonts.alias > /usr/local/lib/X11/fonts/TrueType/fonts.alias.tmp && mv /usr/local/lib/X11/fonts/TrueType/fonts.alias.tmp /usr/local/lib/X11/fonts/TrueType/fonts.alias
@unexec %D/bin/ttfm.sh --remove xttfm /usr/local/share/fonts/TrueType/moe_lishu.ttf || true
@unexec %D/bin/ttfm.sh --remove xttfm /usr/local/share/fonts/TrueType/moe_kai.ttf || true
@unexec %D/bin/ttfm.sh --remove xttfm /usr/local/share/fonts/TrueType/moe_sung.ttf || true
@unexec %D/bin/ttfm.sh --remove xttfm /usr/local/share/fonts/TrueType/moe_sungext.ttf || true
@unexec %D/bin/ttfm.sh --remove xttfm /usr/local/share/fonts/TrueType/moe_sungsym.ttf || true
share/fonts/TrueType/moe_lishu.ttf
@comment MD5:a40cced436fcb0deb7974fa14da9ca7e
share/fonts/TrueType/moe_kai.ttf
@comment MD5:bcbd6cf83b87153f9a725243afe210c7
share/fonts/TrueType/moe_sung.ttf
@comment MD5:6bf81e29d64db09d94bb1f03c041d9b2
share/fonts/TrueType/moe_sungext.ttf
@comment MD5:18d76068af329bfb2f90b79e923135ec
share/fonts/TrueType/moe_sungsym.ttf
@comment MD5:2ea2031bd58687b50a8764e29a0f1886
@exec %D/bin/ttfm.sh --add xttfm /usr/local/share/fonts/TrueType/moe_lishu.ttf || true
@exec %D/bin/ttfm.sh --add xttfm /usr/local/share/fonts/TrueType/moe_kai.ttf || true
@exec %D/bin/ttfm.sh --add xttfm /usr/local/share/fonts/TrueType/moe_sung.ttf || true
@exec %D/bin/ttfm.sh --add xttfm /usr/local/share/fonts/TrueType/moe_sungext.ttf || true
@exec %D/bin/ttfm.sh --add xttfm /usr/local/share/fonts/TrueType/moe_sungsym.ttf || true
@unexec /usr/local/bin/fc-cache -f -v /usr/local/lib/X11/fonts/TrueType || true
@exec /usr/local/bin/fc-cache -f -v /usr/local/lib/X11/fonts/TrueType || true
@unexec find /usr/local/lib/X11/fonts/TrueType -size -3c -delete || true
@unexec rmdir /usr/local/lib/X11/fonts/TrueType 2>/dev/null || true
@unexec rmdir /usr/local/share/fonts/TrueType 2>/dev/null || true
@unexec rmdir %D/share/fonts 2>/dev/null || true
