wok-next view ttf-bitstream-vera/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents db63cccdb8d4
children 7a526dcd4932
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnome.org/fonts/"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL"
11 TAGS="fonts"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
17 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
19 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
20 }
22 # Pre and post install commands for Tazpkg.
23 post_install()
24 {
25 local root
26 root=$1
27 echo "Processing post-install commands..."
28 chroot $root/ /usr/bin/fc-cache
29 }