add font hanazono

This commit is contained in:
Diogo Leal 2015-06-03 15:46:07 -03:00
parent 2478021966
commit 842da93813
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Template build file for 'font-hanazono'.
pkgname=font-hanazono
version=20141012
_revision=62072
revision=1
maintainer="Diogo Leal <diogo@diogoleal.com>"
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
}