void-packages/srcpkgs/font-hanazono/template

26 lines
713 B
Bash

# Template file for 'font-hanazono'
pkgname=font-hanazono
version=20170904
_revision=68253
revision=2
archs=noarch
create_wrksrc=yes
hostmakedepends="unzip"
depends="font-util xbps-triggers"
short_desc="Hanazono is a free kanji font"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="OFL-1.1"
homepage="http://fonts.jp/hanazono/"
distfiles="http://jaist.dl.sourceforge.jp/hanazono-font/${_revision}/hanazono-${version}.zip"
checksum=571cd4a09ae7da0c642d640fc2442c050aa450ebb0587a95cdd097d41a9c9572
font_dirs="/usr/share/fonts/TTF"
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
}