Merge pull request #4418 from rail44/new-package-font-mplus-ttf

New package: font-mplus-ttf
This commit is contained in:
Toyam Cox 2016-08-31 10:07:46 -04:00 committed by GitHub
commit c94e277cda

View file

@ -0,0 +1,20 @@
# 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
}