wok-next view xorg-base-fonts/receipt @ rev 17894

Up lemon (3.8.08.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:27:03 2015 +0200 (2015-04-02)
parents d44526a9fddb
children 1df528a60782
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-base-fonts"
4 VERSION="1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="X window base/minimal fonts from the Xorg project."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/fonts/X11
18 cp -a $src/fonts/* $fs/usr/share/fonts/X11
19 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' $fs/usr/share/fonts/X11/misc/fonts.dir
20 }
22 # Execute fc-cache when the package finish ti install.
23 post_install()
24 {
25 local root
26 root=$1
27 chroot $root/ /usr/bin/fc-cache
28 }