diff --git a/srcpkgs/ipafont-fonts-otf/template b/srcpkgs/ipafont-fonts-otf/template new file mode 100644 index 0000000000..44c2974e09 --- /dev/null +++ b/srcpkgs/ipafont-fonts-otf/template @@ -0,0 +1,23 @@ +# 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 " +distfiles="http://dl.ipafont.ipa.go.jp/IPAfont/IPAfont${_pkgver}.zip" +checksum=f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5 + +makedepends="font-util xbps-triggers 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 +}