wok view xorg-base-fonts/receipt @ rev 20423

Update some web_site to https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 09 12:16:16 2018 +0200 (2018-08-09)
parents d5d1aacad4ba
children 5d79829fa876
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="https://www.x.org/"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="advancecomp"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 find $src/fonts -name '*.gz' -exec advdef -z4 {} \;
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 fontpath="$fs/usr/share/fonts/X11/misc"
26 mkdir -p $fontpath $fs/usr/share/fonts/X11/util
27 install -m644 -oroot -groot $src/fonts/misc/* $fontpath
28 install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util
29 rm -rf $fontpath/6x13-ISO8859-1.pcf.gz $fontpath/cursor.pcf.gz # libXfont buitins
30 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \
31 $fontpath/fonts.dir
32 }
34 # Execute fc-cache when the package finish to install.
35 post_install()
36 {
37 # It may be segfault without -f or -r
38 chroot "$1/" /usr/bin/fc-cache -r
39 }