view gub/specs/fonts-libertine.py @ 6410:ac4b8fa45487

Rename libertine fonts spec file
author Masamichi Hosoda <trueroad@trueroad.jp>
date Sat, 15 Aug 2015 22:58:34 +0900
parents
children 33f88f39ee3b
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/* %(install_prefix)s/share/fonts/opentype/linux-libertine/')
    def package (self):
        build.AutoBuild.package (self)

class Fonts_libertine__tools (tools.AutoBuild, Fonts_libertine):
    pass