wok-current view wqy-bitmapfont/receipt @ rev 14757
Up slitaz-configs (5.1.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 18 15:32:37 2013 +0200 (2013-06-18) |
parents | 7a526dcd4932 |
children | dfef8de3d270 |
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 fc-cache -f > /dev/null 2>&1
30 }