void-packages/srcpkgs/wqy-microhei/template

22 lines
672 B
Bash

# Template file for 'wqy-microhei'
pkgname=wqy-microhei
version=0.2.0.beta
revision=2
archs=noarch
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
}