void-packages/srcpkgs/ipafont-fonts-otf/template

22 lines
652 B
Bash

# Template file for 'ipafont-fonts-otf'
pkgname=ipafont-fonts-otf
version=003.03
revision=4
_pkgver=${version/./}
hostmakedepends="unzip"
depends="font-util xbps-triggers"
short_desc="Japanese OpenType font set"
maintainer="Georg Schabel <gescha@posteo.de>"
license="IPA"
homepage="http://ipafont.ipa.go.jp/"
distfiles="http://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont${version//./}.zip"
checksum=f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5
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
}