3
0
Fork 0
forked from mirrors/nixpkgs

treewide: cleanup font installation commands

This commit is contained in:
Weijia Wang 2023-01-28 10:31:41 +01:00
parent cec62b8dfb
commit 5a20e765c6
8 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -13,8 +13,8 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
mkdir -p $out/share/{doc,fonts}
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
install -Dm644 *Changes *README.markdown *README.xelualatex -t $out/share/doc/${pname}-${version}
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
install -Dm644 Changes README.markdown README.xelualatex -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -12,8 +12,8 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *README.md *FONTLOG.txt -t $out/share/doc/${pname}-${version}
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 README.md FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
install -Dm644 OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';

View file

@ -12,8 +12,8 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm644 *Desktop/static/otf/*.otf -t $out/share/fonts/opentype
install -Dm644 *Desktop/static/ttf/*.ttf *Desktop/*.ttf -t $out/share/fonts/truetype
install -Dm644 */static/otf/*.otf -t $out/share/fonts/opentype
install -Dm644 */static/ttf/*.ttf */*.ttf -t $out/share/fonts/truetype
runHook postInstall
'';