wok-next view wqy-bitmapfont/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | dfef8de3d270 |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.wqy.org/"
11 TARBALL="$PACKAGE-pcf-0.9.9-0.tar.gz"
12 WGET_URL="$SF_MIRROR/wqy/$TARBALL"
14 genpkg_rules() {
15 FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont
16 mkdir -p \
17 $fs$FONT \
18 $fs/etc/fonts/conf.avail \
19 $fs/etc/fonts/conf.d
20 cp -a $src/*.pcf $fs$FONT
21 cp -a $src/*.conf $fs/etc/fonts/conf.avail
22 ln -s ../conf.avail/85-wqy-bitmapsong.conf \
23 $fs/etc/fonts/conf.d/85-wqy-bitmapsong.conf
24 TAGS="font"
25 }
27 post_install() {
28 chroot "$1/" fc-cache -f > /dev/null 2>&1
29 }