void-packages/srcpkgs/font-hanazono/template

25 lines
700 B
Bash

# Template file for 'font-hanazono'
pkgname=font-hanazono
version=20170904
_revision=68253
revision=3
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
}