wok-next view xorg-base-fonts/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | d5d1aacad4ba |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://www.x.org/wiki/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
14 PKG_RULE="std"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 f="$install/usr/share/fonts/X11"
20 mkdir -p $f
21 cp -r $src/fonts/misc $src/fonts/util $f
22 rm -rf $f/misc/6x13-ISO8859-1.pcf.gz $f/misc/cursor.pcf.gz # libXfont buitins
23 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \
24 $f/misc/fonts.dir
25 find $install -type f -exec chmod 644 '{}' \;
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 copy @std
32 }
34 # Execute fc-cache when the package finish to install.
35 # It may be segfault without -f or -r
36 post_install() {
37 chroot "$1/" /usr/bin/fc-cache -r
38 }