wok-next annotate xorg-base-fonts/receipt @ rev 20738
Up scons (3.0.1); add scons2 (2.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 21:13:51 2018 +0300 (2018-05-29) |
parents | ea3c4b76ea5d |
children | cd7906120828 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-base-fonts" |
pankso@710 | 4 VERSION="1.2" |
pankso@87 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="X window base/minimal fonts from the Xorg project" |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://www.x.org/wiki/" |
pankso@87 | 10 |
al@19805 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19805 | 12 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" |
al@19805 | 13 PKG_RULE="std" |
pascal@19248 | 14 |
pascal@19248 | 15 # Rules to configure and make the package. |
pascal@19248 | 16 compile_rules() |
pascal@19248 | 17 { |
al@19805 | 18 f="$install/usr/share/fonts/X11" |
al@19805 | 19 mkdir -p $f |
al@19805 | 20 cp -r $src/fonts/misc $src/fonts/util $f |
al@19805 | 21 rm -rf $f/misc/6x13-ISO8859-1.pcf.gz $f/misc/cursor.pcf.gz # libXfont buitins |
al@19805 | 22 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ |
al@19805 | 23 $f/misc/fonts.dir |
al@19805 | 24 find $install -type f -exec chmod 644 '{}' \; |
pascal@19248 | 25 } |
pascal@19248 | 26 |
pankso@87 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 28 genpkg_rules() |
pankso@87 | 29 { |
al@19805 | 30 copy @std |
pankso@87 | 31 } |
pankso@87 | 32 |
al@18582 | 33 # Execute fc-cache when the package finish to install. |
al@19805 | 34 # It may be segfault without -f or -r |
al@19805 | 35 post_install() { |
pascal@18730 | 36 chroot "$1/" /usr/bin/fc-cache -r |
pankso@87 | 37 } |