3
0
Fork 0
forked from mirrors/nixpkgs

gentium: 5.000 → 6.000

https://software.sil.org/gentium/release-6-000/
This commit is contained in:
Jan Tojnar 2021-07-01 10:48:39 +02:00
parent 2d03841467
commit a10845efda
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

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