wok annotate ttf-bitstream-vera/receipt @ rev 14512
Add lynis
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 13:55:15 2013 +0200 (2013-05-14) |
parents | db63cccdb8d4 |
children | 7a526dcd4932 |
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" |
jozee@4973 | 11 TAGS="fonts" |
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 } |