# Template file for 'ipafont-fonts-otf'
pkgname=ipafont-fonts-otf
version=003.03
revision=1
_pkgver=${version/./}
short_desc="Japanese OpenType font set"
homepage="http://ipafont.ipa.go.jp/"
license="IPA"
maintainer="Georg Schabel <gescha@posteo.de>"
distfiles="http://dl.ipafont.ipa.go.jp/IPAfont/IPAfont${_pkgver}.zip"
checksum=f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5

hostmakedepends="unzip"
depends="font-util xbps-triggers"
noarch="yes"
wrksrc="IPAfont${_pkgver}"
font_dirs="/usr/share/fonts/OTF"

do_install() {
	vmkdir usr/share/fonts/OTF
	install -m644 *.ttf ${DESTDIR}/usr/share/fonts/OTF
	vlicense IPA_Font_License_Agreement_v1.0.txt LICENSE
}
