void-packages/srcpkgs/wqy-microhei/template

23 lines
662 B
Bash

# Template file for 'wqy-microhei'
pkgname=wqy-microhei
version=0.2.0.beta
revision=1
short_desc="A Sans-Serif style high quality CJK outline font"
maintainer="rtlanceroad <rtlanceroad@gmail.com>"
homepage="http://wenq.org"
license="GPL-3, Apache-2.0"
distfiles="${SOURCEFORGE_SITE}/wqy/$pkgname/${version//.b/-b}/$pkgname-${version//.b/-b}.tar.gz"
checksum=2802ac8023aa36a66ea6e7445854e3a078d377ffff42169341bd237871f7213e
wrksrc=$pkgname
depends="font-util"
noarch="yes"
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
}