wok-current diff ttf-bitstream-vera/receipt @ rev 841
Tidy up boot help screens (en)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun May 18 13:36:02 2008 +0000 (2008-05-18) |
parents | |
children | 011647445dd9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ttf-bitstream-vera/receipt Sun May 18 13:36:02 2008 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ttf-bitstream-vera" 1.7 +VERSION="1.10" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="The ttf bitstream vera fonts." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnome.org/fonts/" 1.13 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera 1.19 + cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera 1.20 + rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* 1.21 + rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt* 1.22 +} 1.23 + 1.24 +# Pre and post install commands for Tazpkg. 1.25 +post_install() 1.26 +{ 1.27 + local root 1.28 + root=$1 1.29 + echo "Processing post-install commands..." 1.30 + if [ -n "$root" ]; then 1.31 + rm -Rf $root/var/cache/fontconfig 1.32 + cp -a /var/cache/fontconfig $root/var/cache 1.33 + else 1.34 + fc-cache 1.35 + fi 1.36 +} 1.37 +SELF_INSTALL=1