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

24 lines
675 B
Bash

# Template file for 'ipafont-fonts-otf'
pkgname=ipafont-fonts-otf
version=003.03
revision=3
_pkgver=${version/./}
archs=noarch
wrksrc="IPAfont${_pkgver}"
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="https://oscdl.ipa.go.jp/IPAfont/IPAfont${_pkgver}.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
}