wok view wqy-bitmapfont/receipt @ rev 19599

Up: pyopenssl (16.2.0)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 01 18:09:26 2017 +0000 (2017-01-01)
parents 2dee907f180f
children 7cfc423aaa00
line source
1 # SliTaz package receipt.
3 PACKAGE="wqy-bitmapfont"
4 VERSION="0.9.9"
5 CATEGORY="x-window"
6 SHORT_DESC="A popular Chinese bitmap font."
7 MAINTAINER="tsjz@ymail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.wqy.org/"
10 TARBALL="$PACKAGE-pcf-0.9.9-0.tar.gz"
11 WGET_URL="$SF_MIRROR/wqy/$PACKAGE/$VERSION/$TARBALL"
12 TAGS="font"
14 genpkg_rules()
15 {
16 FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont
17 mkdir -p \
18 $fs$FONT \
19 $fs/etc/fonts/conf.avail \
20 $fs/etc/fonts/conf.d
21 cp -a $src/*.pcf $fs$FONT
22 cp -a $src/*.conf $fs/etc/fonts/conf.avail
23 ln -s ../conf.avail/85-wqy-bitmapsong.conf \
24 $fs/etc/fonts/conf.d/85-wqy-bitmapsong.conf
25 }
27 post_install()
28 {
29 chroot "$1/" fc-cache -f > /dev/null 2>&1
30 }