void-packages/srcpkgs/wqy-microhei/template
2018-11-20 02:12:23 -02:00

21 lines
670 B
Bash

# Template file for 'wqy-microhei'
pkgname=wqy-microhei
version=0.2.0.beta
revision=2
noarch=yes
wrksrc=wqy-microhei
depends="font-util"
short_desc="A Sans-Serif style high quality CJK outline font"
maintainer="rtlanceroad <rtlanceroad@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://wenq.org"
distfiles="${SOURCEFORGE_SITE}/wqy/wqy-microhei/${version//.b/-b}/wqy-microhei-${version//.b/-b}.tar.gz"
checksum=2802ac8023aa36a66ea6e7445854e3a078d377ffff42169341bd237871f7213e
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
install -m644 *.ttc ${DESTDIR}/usr/share/fonts/TTF
vlicense LICENSE_GPLv3.txt
vlicense LICENSE_Apache2.txt
}