9 pname = "linux-libertine";
13 url = "mirror://sourceforge/linuxlibertine/5.3.0/LinLibertineSRC_5.3.0_2012_07_02.tgz";
14 hash = "sha256-G+xDYKJvHPMzwnktkg9cpNTv9E9d5QFgDjReuKH57HQ=";
19 nativeBuildInputs = [ fontforge ];
26 fontforge -lang=ff -c \
30 Generate($1:r + ".ttf");
31 Generate($1:r + ".otf");
32 Reencode("TeX-Base-Encoding");
33 Generate($1:r + ".afm");
34 Generate($1:r + ".pfm");
35 Generate($1:r + ".pfb");
36 Generate($1:r + ".map");
37 Generate($1:r + ".enc");
45 install -m444 -Dt $out/share/fonts/opentype/public *.otf
46 install -m444 -Dt $out/share/fonts/truetype/public *.ttf
47 install -m444 -Dt $out/share/fonts/type1/public *.pfb
48 install -m444 -Dt $out/share/texmf/fonts/enc *.enc
49 install -m444 -Dt $out/share/texmf/fonts/map *.map
54 description = "Linux Libertine Fonts";
55 homepage = "http://linuxlibertine.sf.net";
56 maintainers = with maintainers; [ erdnaxe ];
57 license = licenses.ofl;