Mercurial > gub
changeset 6435:4679835869af
Add fonts-gnufreefont
author | Masamichi Hosoda <trueroad@trueroad.jp> |
---|---|
date | Wed, 02 Sep 2015 19:56:21 +0900 |
parents | f8589f34cf76 |
children | ffa4a0f4c3d3 |
files | gub/specs/fonts-gnufreefont.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/fonts-gnufreefont.py Wed Sep 02 19:56:21 2015 +0900 @@ -0,0 +1,13 @@ +from gub import tools +from gub import build + +class Fonts_gnufreefont (build.BinaryBuild): + source = 'http://ftp.gnu.org/gnu/freefont/freefont-otf-20120503.tar.gz' + def install (self): + self.system ('mkdir -p %(install_prefix)s/share/fonts/opentype/gnufreefont') + self.system ('cp %(srcdir)s/*.otf %(install_prefix)s/share/fonts/opentype/gnufreefont/') + def package (self): + build.AutoBuild.package (self) + +class Fonts_gnufreefont__tools (tools.AutoBuild, Fonts_gnufreefont): + pass