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