void-packages/srcpkgs/font-hanazono/template

26 lines
720 B
Bash

# Template build file for 'font-hanazono'.
pkgname=font-hanazono
version=20170904
_revision=68253
revision=1
maintainer="Diogo Leal <diogo@diogoleal.com>"
short_desc="Hanazono is a free kanji font"
homepage="http://fonts.jp/hanazono/"
license="OFL-1.1"
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=571cd4a09ae7da0c642d640fc2442c050aa450ebb0587a95cdd097d41a9c9572
do_install() {
vmkdir usr/share/fonts/TTF
vinstall HanaMinA.ttf 644 usr/share/fonts/TTF
vinstall HanaMinB.ttf 644 usr/share/fonts/TTF
vdoc README.txt
vdoc THANKS.txt
}