New package: wqy-microhei-0.2.0_beta

This commit is contained in:
rtlanceroad 2015-02-22 20:36:58 +08:00
parent d0f3c0fe0e
commit e45cbad88a
2 changed files with 5 additions and 14 deletions

View file

@ -1,10 +0,0 @@
#
# This script builds fontconfig's fonts cache.
#
case "${ACTION}" in
post)
echo "Building fonts cache... "
fc-cache -fs >/dev/null
echo "done."
;;
esac

View file

@ -5,18 +5,19 @@ 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"
license="GPL-3, Apache-2.0"
distfiles="${SOURCEFORGE_SITE}/wqy/$pkgname/${version//_/-}/$pkgname-${version//_/-}.tar.gz"
checksum=2802ac8023aa36a66ea6e7445854e3a078d377ffff42169341bd237871f7213e
wrksrc=$pkgname
depends="font-util fontconfig xbps-triggers>=0.58"
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
vmkdir usr/share/licenses/$pkgname
install -m644 LICENSE* ${DESTDIR}/usr/share/licenses/$pkgname
}
post_install() {
vlicense LICENCE*
}