wok-next annotate 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
rev   line source
pankso@3609 1 # SliTaz package receipt.
pankso@3609 2
tsjz@3221 3 PACKAGE="wqy-bitmapfont"
tsjz@3221 4 VERSION="0.9.9"
mallory@3288 5 CATEGORY="x-window"
al@21020 6 SHORT_DESC="A popular Chinese bitmap font"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@14745 8 LICENSE="GPL2"
pankso@3609 9 WEB_SITE="http://www.wqy.org/"
al@21020 10
al@14742 11 TARBALL="$PACKAGE-pcf-0.9.9-0.tar.gz"
al@21020 12 WGET_URL="$SF_MIRROR/wqy/$TARBALL"
pascal@9070 13
al@21020 14 genpkg_rules() {
al@14745 15 FONT=/usr/share/fonts/wenquanyi/wqy-bitmapfont
al@14745 16 mkdir -p \
al@14745 17 $fs$FONT \
al@14745 18 $fs/etc/fonts/conf.avail \
al@14745 19 $fs/etc/fonts/conf.d
al@14745 20 cp -a $src/*.pcf $fs$FONT
al@14745 21 cp -a $src/*.conf $fs/etc/fonts/conf.avail
al@14745 22 ln -s ../conf.avail/85-wqy-bitmapsong.conf \
al@14745 23 $fs/etc/fonts/conf.d/85-wqy-bitmapsong.conf
al@21020 24 TAGS="font"
tsjz@3221 25 }
tsjz@3221 26
al@21020 27 post_install() {
pascal@17552 28 chroot "$1/" fc-cache -f > /dev/null 2>&1
tsjz@3221 29 }