void-packages/srcpkgs/wqy-microhei/template
2015-02-23 08:01:25 +08:00

22 lines
662 B
Bash

# Template file for 'dejavu-fonts-ttf'
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//_/-}/$pkgname-${version//_/-}.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
}