wok-next view xorg-base-fonts/receipt @ rev 16573
slitaz-base-files: get ride of /var/run symlink in pre_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:14:33 2014 +0200 (2014-05-02) |
parents | eb8067417980 |
children | d44526a9fddb |
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 }
21 # Execute fc-cache when the package finish ti install.
22 post_install()
23 {
24 local root
25 root=$1
26 chroot $root/ /usr/bin/fc-cache
27 }