wok-next annotate ttf-bitstream-vera/receipt @ rev 18441
gambas2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 22:06:04 2015 +0200 (2015-09-23) |
parents | 8873e661671a |
children | 9e01bc6321ea |
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" |
pascal@15610 | 8 LICENSE="other" |
pankso@27 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 10 WEB_SITE="http://www.gnome.org/fonts/" |
pankso@27 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL" |
al@14742 | 12 TAGS="font" |
pankso@16313 | 13 HOST_ARCH="i486 arm" |
pankso@27 | 14 |
pankso@27 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 16 genpkg_rules() |
pankso@27 | 17 { |
pankso@27 | 18 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 19 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 20 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* |
pankso@27 | 21 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt* |
pankso@27 | 22 } |
pankso@27 | 23 |
pankso@27 | 24 # Pre and post install commands for Tazpkg. |
pankso@27 | 25 post_install() |
pankso@27 | 26 { |
pankso@27 | 27 local root |
pankso@27 | 28 root=$1 |
pankso@27 | 29 echo "Processing post-install commands..." |
pascal@5125 | 30 chroot $root/ /usr/bin/fc-cache |
pankso@27 | 31 } |