void-packages/srcpkgs/font-mplus-ttf/template

21 lines
626 B
Bash

# Template file for 'font-mplus-ttf'
pkgname=font-mplus-ttf
version=061
revision=1
short_desc="M+ Japanese outline fonts"
maintainer="Satoshi Amemiya <amemiya@protonmail.com>"
homepage="https://mplus-fonts.osdn.jp/"
license="custom"
noarch=yes
depends="fontconfig font-util"
wrksrc="mplus-TESTFLIGHT-${version}"
font_dirs="/usr/share/fonts/TTF"
distfiles="http://jaist.dl.osdn.jp/mplus-fonts/62344/mplus-TESTFLIGHT-${version}.tar.xz"
checksum=0f8983267ae274b5c47d17db4aca193dfce3558c6561aa6e95c9212f68313bfb
do_install() {
vmkdir usr/share/fonts/TTF
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
vlicense LICENSE_E
}