mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
arphic: style fixes
This commit is contained in:
parent
8237294f64
commit
6e604ec68c
|
@ -15,14 +15,12 @@
|
|||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/share/fonts $out/share/fonts/truetype
|
||||
cp -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc
|
||||
installPhase = ''
|
||||
install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc
|
||||
cd $out/share/fonts
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "CJK Unicode font Kai style";
|
||||
|
@ -48,14 +46,12 @@
|
|||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/share/fonts $out/share/fonts/truetype
|
||||
cp -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc
|
||||
installPhase = ''
|
||||
install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc
|
||||
cd $out/share/fonts
|
||||
mkfontdir
|
||||
mkfontscale
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "CJK Unicode font Ming style";
|
||||
|
|
Loading…
Reference in a new issue