wok-6.x view xorg-base-fonts/receipt @ rev 669
Up: xorg-base-fonts (1.1) - rm unused (100 Ko) + add arabic fonts (asiatic to be discuss)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 21:37:27 2008 +0200 (2008-04-23) |
parents | da39ce2eb72c |
children | aa9c8eb0a1b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-base-fonts"
4 VERSION="1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="X window base/minimal fonts from the Xorg project."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.x.org/"
10 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/fonts/X11
16 cp -a $src/fonts/* $fs/usr/share/fonts/X11
17 }
19 # Execute fc-cache when the package finish ti install.
20 post_install()
21 {
22 local root
23 root=$1
24 if [ -n "$root" ]; then
25 rm -Rf $root/var/cache/fontconfig
26 cp -a /var/cache/fontconfig $root/var/cache
27 else
28 fc-cache
29 fi
30 }
31 SELF_INSTALL=1