wok-next view wqy-bitmapfont/receipt @ rev 18595
Up tazpkg(859)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 13 14:09:01 2015 +0200 (2015-11-13) |
parents | 2dee907f180f |
children | d5aab818505e |
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 }