changeset 6420:c7ab9af25a3b

Add fonts 'TeX Gyre'
author Masamichi Hosoda <trueroad@trueroad.jp>
date Sun, 16 Aug 2015 01:38:25 +0900
parents b43931a7ce57
children 0e31a70cc834
files gub/specs/fonts-texgyre.py
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gub/specs/fonts-texgyre.py	Sun Aug 16 01:38:25 2015 +0900
@@ -0,0 +1,13 @@
+from gub import tools
+from gub import build
+
+class Fonts_texgyre (build.BinaryBuild):
+    source = 'http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip'
+    def install (self):
+        self.system ('mkdir -p %(install_prefix)s/share/fonts/opentype/texgyre')
+        self.system ('cp %(srcdir)s/*.otf %(install_prefix)s/share/fonts/opentype/texgyre/')
+    def package (self):
+        build.AutoBuild.package (self)
+
+class Fonts_texgyre__tools (tools.AutoBuild, Fonts_texgyre):
+    pass