void-packages/srcpkgs/font-hanazono/template
2015-06-04 17:24:53 -03:00

25 lines
720 B
Bash

# 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="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=06a7285dcc5c8a22aa3a1b319f965d9d336b84af61fabd5d9d5ba6fa2d861208
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
}