wok-next annotate xorg-base-fonts/receipt @ rev 20358
Update libunwind, strace; pcmanfm-qt: update dependencies; shrink icu (less 2MB comparing to the *-full version); add awf.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 22 21:52:02 2017 +0200 (2017-11-22) |
parents | d5d1aacad4ba |
children | c4e53a39395a |
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@16063 | 10 HOST_ARCH="i486 arm" |
pankso@87 | 11 |
al@19805 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19805 | 13 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" |
al@19805 | 14 PKG_RULE="std" |
pascal@19248 | 15 |
pascal@19248 | 16 # Rules to configure and make the package. |
pascal@19248 | 17 compile_rules() |
pascal@19248 | 18 { |
al@19805 | 19 f="$install/usr/share/fonts/X11" |
al@19805 | 20 mkdir -p $f |
al@19805 | 21 cp -r $src/fonts/misc $src/fonts/util $f |
al@19805 | 22 rm -rf $f/misc/6x13-ISO8859-1.pcf.gz $f/misc/cursor.pcf.gz # libXfont buitins |
al@19805 | 23 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ |
al@19805 | 24 $f/misc/fonts.dir |
al@19805 | 25 find $install -type f -exec chmod 644 '{}' \; |
pascal@19248 | 26 } |
pascal@19248 | 27 |
pankso@87 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 29 genpkg_rules() |
pankso@87 | 30 { |
al@19805 | 31 copy @std |
pankso@87 | 32 } |
pankso@87 | 33 |
al@18582 | 34 # Execute fc-cache when the package finish to install. |
al@19805 | 35 # It may be segfault without -f or -r |
al@19805 | 36 post_install() { |
pascal@18730 | 37 chroot "$1/" /usr/bin/fc-cache -r |
pankso@87 | 38 } |