wok-next view xorg-base-fonts/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents ea3c4b76ea5d
children cd7906120828
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
13 PKG_RULE="std"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 f="$install/usr/share/fonts/X11"
19 mkdir -p $f
20 cp -r $src/fonts/misc $src/fonts/util $f
21 rm -rf $f/misc/6x13-ISO8859-1.pcf.gz $f/misc/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 $f/misc/fonts.dir
24 find $install -type f -exec chmod 644 '{}' \;
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 copy @std
31 }
33 # Execute fc-cache when the package finish to install.
34 # It may be segfault without -f or -r
35 post_install() {
36 chroot "$1/" /usr/bin/fc-cache -r
37 }