From 842da938133d5a956334303f7c5ec4d3ea6f814f Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Wed, 3 Jun 2015 15:46:07 -0300 Subject: [PATCH] add font hanazono --- srcpkgs/font-hanazono/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/font-hanazono/template diff --git a/srcpkgs/font-hanazono/template b/srcpkgs/font-hanazono/template new file mode 100644 index 0000000000..035fcc9d5b --- /dev/null +++ b/srcpkgs/font-hanazono/template @@ -0,0 +1,29 @@ +# Template build file for 'font-hanazono'. +pkgname=font-hanazono +version=20141012 +_revision=62072 +revision=1 +maintainer="Diogo Leal " +short_desc="Hanazono is a free kanji font" +homepage="http://fonts.jp/hanazono/" +license="Hanazono Font License, Open Font License" +depends="font-util xbps-triggers" +noarch="yes" +hostmakedepends="unzip" +font_dirs="/usr/share/fonts/TTF" + +create_wrksrc=yes + +distfiles="http://jaist.dl.sourceforge.jp/hanazono-font/${_revision}/hanazono-${version}.zip" +checksum=06a7285dcc5c8a22aa3a1b319f965d9d336b84af61fabd5d9d5ba6fa2d861208 + +do_install() { + vmkdir usr/share/fonts/TTF + vinstall HanaMinA.ttf 644 usr/share/fonts/TTF + vinstall HanaMinB.ttf 644 usr/share/fonts/TTF + vmkdir usr/share/license/hanazono/ + vlicense LICENSE.txt + vmkdir usr/share/doc/hanazono/ + vdoc README.txt + vdoc THANKS.txt +}