wok-current view wqy-bitmapfont/receipt @ rev 20049

Add xautolock
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 01 11:29:54 2017 +0200 (2017-09-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 }