wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-bitstream-vera"
4 VERSION="1.10"
5 CATEGORY="x-window"
6 SHORT_DESC="The ttf bitstream vera fonts."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org/fonts/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL"
12 TAGS="font"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
18 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
19 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
20 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
21 }
23 # Pre and post install commands for Tazpkg.
24 post_install()
25 {
26 local root
27 root=$1
28 echo "Processing post-install commands..."
29 chroot $root/ /usr/bin/fc-cache
30 }