# HG changeset patch # User Masamichi Hosoda # Date 1439214924 -32400 # Node ID dfea26d3ea9d128e3481be8e0e76200ce238372c # Parent 8b7c2e05473e3cb09ebbf0409bc531215105b9a0 Add specs Linux Libertine fonts diff -r 8b7c2e05473e -r dfea26d3ea9d gub/specs/libertine-fonts.py --- /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