changeset 6408:dfea26d3ea9d

Add specs Linux Libertine fonts
author Masamichi Hosoda <trueroad@trueroad.jp>
date Mon, 10 Aug 2015 22:55:24 +0900
parents 8b7c2e05473e
children f6b6aac893b6
files gub/specs/libertine-fonts.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/libertine-fonts.py	Mon Aug 10 22:55:24 2015 +0900
@@ -0,0 +1,13 @@
+from gub import tools
+from gub import build
+
+class Libertine_fonts (build.BinaryBuild):
+    source = 'http://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/5.3.0/LinLibertineOTF_5.3.0_2012_07_02.tgz&strip=0'
+    def install (self):
+        self.system ('mkdir -p %(install_prefix)s/share/fonts/opentype/linux-libertine')
+        self.system ('cp %(srcdir)s/* %(install_prefix)s/share/fonts/opentype/linux-libertine/')
+    def package (self):
+        build.AutoBuild.package (self)
+
+class Libertine_fonts__tools (tools.AutoBuild, Libertine_fonts):
+    pass