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 +}