wok-next annotate ttf-bitstream-vera/receipt @ rev 15610

linux64*: fix install/_pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 07 06:59:03 2013 +0000 (2013-12-07)
parents 7a526dcd4932
children e3c24dc3326c
rev   line source
pankso@27 1 # SliTaz package receipt.
pankso@27 2
pankso@27 3 PACKAGE="ttf-bitstream-vera"
pankso@27 4 VERSION="1.10"
pankso@27 5 CATEGORY="x-window"
pankso@27 6 SHORT_DESC="The ttf bitstream vera fonts."
pankso@27 7 MAINTAINER="pankso@slitaz.org"
pascal@15610 8 LICENSE="other"
pankso@27 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@27 10 WEB_SITE="http://www.gnome.org/fonts/"
pankso@27 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL"
al@14742 12 TAGS="font"
pankso@27 13
pankso@27 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@27 15 genpkg_rules()
pankso@27 16 {
pankso@27 17 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
pankso@27 18 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
pankso@27 19 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
pankso@27 20 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
pankso@27 21 }
pankso@27 22
pankso@27 23 # Pre and post install commands for Tazpkg.
pankso@27 24 post_install()
pankso@27 25 {
pankso@27 26 local root
pankso@27 27 root=$1
pankso@27 28 echo "Processing post-install commands..."
pascal@5125 29 chroot $root/ /usr/bin/fc-cache
pankso@27 30 }