1
0
Fork 1
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:
Jörg Thalheim 2017-06-10 09:31:20 +01:00
parent 8237294f64
commit 6e604ec68c
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -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";