wok annotate xorg-base-fonts/receipt @ rev 18175
Up: openssh 6.9
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Jul 01 21:28:11 2015 +0000 (2015-07-01) |
parents | ac769de6c7c1 |
children | e41fa59d3e5e |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-base-fonts" |
pankso@710 | 4 VERSION="1.2" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="X window base/minimal fonts from the Xorg project." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@87 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@87 | 10 WEB_SITE="http://www.x.org/" |
pankso@87 | 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" |
pankso@16063 | 12 HOST_ARCH="i486 arm" |
pankso@87 | 13 |
pankso@87 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 15 genpkg_rules() |
pankso@87 | 16 { |
psychomaniak@18033 | 17 fontpath="$fs/usr/share/fonts/X11/misc" |
psychomaniak@18033 | 18 mkdir -p $fontpath $fs/usr/share/fonts/X11/util |
psychomaniak@18033 | 19 install -m644 -oroot -groot $src/fonts/misc/* $fontpath |
al@17927 | 20 install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util |
psychomaniak@18004 | 21 rm -rf $fontpath/cursor.pcf.gz $fontpath/6x13.pcf.gz |
al@17925 | 22 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ |
psychomaniak@18033 | 23 $fontpath/fonts.dir |
pankso@87 | 24 } |
pankso@87 | 25 |
pankso@87 | 26 # Execute fc-cache when the package finish ti install. |
pankso@87 | 27 post_install() |
pankso@87 | 28 { |
pankso@87 | 29 local root |
pankso@87 | 30 root=$1 |
pascal@5125 | 31 chroot $root/ /usr/bin/fc-cache |
pankso@87 | 32 } |