void-packages/srcpkgs/ipafont-fonts-otf/template
2014-12-18 16:18:44 +01:00

23 lines
679 B
Bash

# Template file for 'ipafont-fonts-otf'
pkgname=ipafont-fonts-otf
version=003.03
_pkgver=${version/./}
revision=1
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
}