wok-6.x annotate xorg-base-fonts/receipt @ rev 17220
Up liblxqt (0.8.0).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 14 15:37:52 2014 +0300 (2014-10-14) |
parents | d44526a9fddb |
children | 1df528a60782 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-base-fonts" |
pankso@710 | 4 VERSION="1.2" |
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" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@87 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@87 | 10 WEB_SITE="http://www.x.org/" |
pankso@87 | 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" |
pankso@16063 | 12 HOST_ARCH="i486 arm" |
pankso@87 | 13 |
pankso@87 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 15 genpkg_rules() |
pankso@87 | 16 { |
pankso@87 | 17 mkdir -p $fs/usr/share/fonts/X11 |
pankso@87 | 18 cp -a $src/fonts/* $fs/usr/share/fonts/X11 |
psychomaniak@16933 | 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 |
pankso@87 | 20 } |
pankso@87 | 21 |
pankso@87 | 22 # Execute fc-cache when the package finish ti install. |
pankso@87 | 23 post_install() |
pankso@87 | 24 { |
pankso@87 | 25 local root |
pankso@87 | 26 root=$1 |
pascal@5125 | 27 chroot $root/ /usr/bin/fc-cache |
pankso@87 | 28 } |