wok annotate ttf-bitstream-vera/receipt @ rev 786
Up syslinux syslinux-extra 3.63, build *.kbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 14:34:20 2008 +0000 (2008-05-13) |
parents | |
children | 011647445dd9 |
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" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 9 WEB_SITE="http://www.gnome.org/fonts/" |
pankso@27 | 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL" |
pankso@27 | 11 |
pankso@27 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 13 genpkg_rules() |
pankso@27 | 14 { |
pankso@27 | 15 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 16 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 17 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* |
pankso@27 | 18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt* |
pankso@27 | 19 } |
pankso@27 | 20 |
pankso@27 | 21 # Pre and post install commands for Tazpkg. |
pankso@27 | 22 post_install() |
pankso@27 | 23 { |
pankso@27 | 24 local root |
pankso@27 | 25 root=$1 |
pankso@27 | 26 echo "Processing post-install commands..." |
pankso@27 | 27 if [ -n "$root" ]; then |
pankso@27 | 28 rm -Rf $root/var/cache/fontconfig |
pankso@27 | 29 cp -a /var/cache/fontconfig $root/var/cache |
pankso@27 | 30 else |
pankso@27 | 31 fc-cache |
pankso@27 | 32 fi |
pankso@27 | 33 } |
pankso@27 | 34 SELF_INSTALL=1 |