wok-6.x annotate wqy-bitmapfont/receipt @ rev 14745

wqy-bitmapfont: fix download path, add fontconfig rule.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 14 13:57:08 2013 +0000 (2013-06-14)
parents 7a526dcd4932
children dfef8de3d270
rev   line source
pankso@3609 1 # SliTaz package receipt.
pankso@3609 2
tsjz@3221 3 PACKAGE="wqy-bitmapfont"
tsjz@3221 4 VERSION="0.9.9"
mallory@3288 5 CATEGORY="x-window"
tsjz@3221 6 SHORT_DESC="A popular Chinese bitmap font."
tsjz@3221 7 MAINTAINER="tsjz@ymail.com"
al@14745 8 LICENSE="GPL2"
pankso@3609 9 WEB_SITE="http://www.wqy.org/"
al@14742 10 TARBALL="$PACKAGE-pcf-0.9.9-0.tar.gz"
al@14745 11 WGET_URL="$SF_MIRROR/wqy/$PACKAGE/$VERSION/$TARBALL"
al@14742 12 TAGS="font"
pascal@9070 13
tsjz@3221 14 genpkg_rules()
tsjz@3221 15 {
al@14745 16 FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont
al@14745 17 mkdir -p \
al@14745 18 $fs$FONT \
al@14745 19 $fs/etc/fonts/conf.avail \
al@14745 20 $fs/etc/fonts/conf.d
al@14745 21 cp -a $src/*.pcf $fs$FONT
al@14745 22 cp -a $src/*.conf $fs/etc/fonts/conf.avail
al@14745 23 ln -s ../conf.avail/85-wqy-bitmapsong.conf \
al@14745 24 $fs/etc/fonts/conf.d/85-wqy-bitmapsong.conf
tsjz@3221 25 }
tsjz@3221 26
al@14745 27 post_install()
tsjz@3221 28 {
al@14745 29 fc-cache -f > /dev/null 2>&1
tsjz@3221 30 }