void-packages/srcpkgs/font-hanazono/template

26 lines
720 B
Bash

# Template build file for 'font-hanazono'.
pkgname=font-hanazono
version=20160201
_revision=64385
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=2b89af892d969edbb47b5adf75663a76c2bec5961467e65557b623f6b2add139
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
}