wok-next view xorg-base-fonts/receipt @ rev 18861
Up License
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Wed Jan 27 06:25:30 2016 +0000 (2016-01-27) |
parents | 0e02d06530b3 |
children | d5d1aacad4ba |
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 fontpath="$fs/usr/share/fonts/X11/misc"
18 mkdir -p $fontpath $fs/usr/share/fonts/X11/util
19 install -m644 -oroot -groot $src/fonts/misc/* $fontpath
20 install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util
21 rm -rf $fontpath/6x13-ISO8859-1.pcf.gz $fontpath/cursor.pcf.gz # libXfont buitins
22 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \
23 $fontpath/fonts.dir
24 }
26 # Execute fc-cache when the package finish to install.
27 post_install()
28 {
29 # It may be segfault without -f or -r
30 chroot "$1/" /usr/bin/fc-cache -r
31 }