wok-4.x view ttf-bitstream-vera/receipt @ rev 175
Adding SHORT_DESC
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Feb 01 22:04:04 2008 +0100 (2008-02-01) |
parents | |
children | 011647445dd9 |
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"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
16 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
17 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
19 }
21 # Pre and post install commands for Tazpkg.
22 post_install()
23 {
24 local root
25 root=$1
26 echo "Processing post-install commands..."
27 if [ -n "$root" ]; then
28 rm -Rf $root/var/cache/fontconfig
29 cp -a /var/cache/fontconfig $root/var/cache
30 else
31 fc-cache
32 fi
33 }
34 SELF_INSTALL=1