view gub/specs/fonts-libertine.py @ 6412:33f88f39ee3b

Fix fonts-libertine Install ttf files only.
author Masamichi Hosoda <trueroad@trueroad.jp>
date Sun, 16 Aug 2015 00:53:29 +0900
parents ac4b8fa45487
children
line wrap: on
line source

from gub import tools
from gub import build

class Fonts_libertine (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/*.otf %(install_prefix)s/share/fonts/opentype/linux-libertine/')
    def package (self):
        build.AutoBuild.package (self)

class Fonts_libertine__tools (tools.AutoBuild, Fonts_libertine):
    pass