Merge pull request #128862 from jtojnar/gentium6
gentium: 5.000 → 6.000
This commit is contained in:
commit
c713d17ecd
|
@ -1,7 +1,7 @@
|
|||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "5.000";
|
||||
version = "6.000";
|
||||
in fetchzip rec {
|
||||
name = "gentium-${version}";
|
||||
|
||||
|
@ -10,12 +10,20 @@ in fetchzip rec {
|
|||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -l $downloadedFile
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*/FONTLOG.txt \*/GENTIUM-FAQ.txt \*/README.txt -d $out/share/doc/${name}
|
||||
unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation
|
||||
unzip -j $downloadedFile \*.ttf \
|
||||
-d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \
|
||||
\*/FONTLOG.txt \
|
||||
\*/README.txt \
|
||||
-d $out/share/doc/${name}
|
||||
unzip -j $downloadedFile \
|
||||
\*/documentation/\*.html \
|
||||
\*/documentation/\*.txt \
|
||||
-x \*/documentation/source/\* \
|
||||
-d $out/share/doc/${name}/documentation
|
||||
'';
|
||||
|
||||
sha256 = "1qr2wjdmm93167b0w9cidlf3wwsyjx4838ja9jmm4jkyian5whhp";
|
||||
sha256 = "zhSpAYK3Lfzsx6Z1IA6aRFNNXdDGq/jWxsQ20c2HcxI=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/gentium/";
|
||||
|
|
Loading…
Reference in a new issue