From f053d39def80ad3f3e63ee2044bb8c3e8c5138d4 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Fri, 25 Sep 2015 21:48:09 +0000 Subject: Fix inconsistent installation directories of Japanese fonts and reorganize the package names: (new) -> font-ayu18 (new) -> font-ayu20 k10 -> font-naga10 (also builds "marunaga" variant now) k12 -> font-kaname12 (new) -> font-elisa10 (resurrected) elisa8x8 -> font-elisa8 kanji18 -> font-kanji18 (also builds 16-dot variant now) kanji26 -> font-kanji26 (also builds 24-dot variant now) kappa20 -> font-kappa20 (Ayu fonts is separated into font-ayu20) mikachan-ttfonts -> font-mikachan monafonts-ttf -> font-mona-ttf monafonts -> font-mona All of bitmap fonts are now installed into misc/, and the TrueType fonts go into TTF/. No objection from: maintainers --- japanese/font-mona-ttf/files/pkg-install.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 japanese/font-mona-ttf/files/pkg-install.in (limited to 'japanese/font-mona-ttf/files/pkg-install.in') diff --git a/japanese/font-mona-ttf/files/pkg-install.in b/japanese/font-mona-ttf/files/pkg-install.in new file mode 100644 index 000000000000..ae01688e7b99 --- /dev/null +++ b/japanese/font-mona-ttf/files/pkg-install.in @@ -0,0 +1,22 @@ +#!/bin/sh + +case $2 in +POST-INSTALL) + cd %%FONTSDIR%% + touch fonts.dir + sed -e '/mona\.ttf/d' fonts.dir > fonts.dir.tmp + numfonts=$(echo $(cat fonts.dir.tmp %%DIRFILE%% | wc -l) - 2 | bc) + echo ${numfonts} > fonts.dir + sed -e 1d fonts.dir.tmp >> fonts.dir + sed -e 1d %%DIRFILE%% >> fonts.dir + rm -f fonts.dir.tmp fonts.alias.tmp +;; +DEINSTALL) + cd %%FONTSDIR%% + touch fonts.dir + sed -e '/mona\.ttf/d' fonts.dir > fonts.dir.tmp + numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 2 | bc) + echo ${numfonts} > fonts.dir + sed -e 1d fonts.dir.tmp >> fonts.dir +;; +esac -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0