Mercurial > gub
changeset 6417:bc9194b63db2
Add fonts `LuxiMono'
author | Masamichi Hosoda <trueroad@trueroad.jp> |
---|---|
date | Sun, 16 Aug 2015 01:04:12 +0900 |
parents | 97a36ef06236 |
children | bb0fccd81f63 |
files | gub/specs/fonts-luximono.py gub/specs/lilypond-doc.py |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gub/specs/fonts-luximono.py Sun Aug 16 01:04:12 2015 +0900 @@ -0,0 +1,14 @@ +from gub import tools +from gub import build + +class Fonts_luximono (build.BinaryBuild): + source = 'http://mirrors.ctan.org/fonts/LuxiMono.zip' + def install (self): + self.system ('mkdir -p %(install_prefix)s/share/fonts/type1/luximono') + self.system ('cp %(srcdir)s/LuxiMono/*.afm %(install_prefix)s/share/fonts/type1/luximono/') + self.system ('cp %(srcdir)s/LuxiMono/*.pf? %(install_prefix)s/share/fonts/type1/luximono/') + def package (self): + build.AutoBuild.package (self) + +class Fonts_luximono__tools (tools.AutoBuild, Fonts_luximono): + pass