wok-current annotate ttf-bitstream-vera/receipt @ rev 14742
Normalize LICENSE and some TAGS and CATEGORY.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 14 12:25:09 2013 +0000 (2013-06-14) |
parents | c656dd6befc1 |
children | 8873e661671a |
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" |
al@14742 | 11 TAGS="font" |
pankso@27 | 12 |
pankso@27 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 14 genpkg_rules() |
pankso@27 | 15 { |
pankso@27 | 16 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 17 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* |
pankso@27 | 19 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt* |
pankso@27 | 20 } |
pankso@27 | 21 |
pankso@27 | 22 # Pre and post install commands for Tazpkg. |
pankso@27 | 23 post_install() |
pankso@27 | 24 { |
pankso@27 | 25 local root |
pankso@27 | 26 root=$1 |
pankso@27 | 27 echo "Processing post-install commands..." |
pascal@5125 | 28 chroot $root/ /usr/bin/fc-cache |
pankso@27 | 29 } |