wok annotate ttf-bitstream-vera/receipt @ rev 19311
Make "yad" the virtual package with real options: "yad-gtk2" and "yad-gtk3"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 02:38:19 2016 +0300 (2016-07-12) |
parents | 6fab3264ba87 |
children | 86790a278e70 |
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" |
al@19125 | 5 CATEGORY="fonts" |
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 { |
al@18741 | 18 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
al@18741 | 19 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
al@18741 | 20 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* |
al@18741 | 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 { |
al@18741 | 27 chroot "$1/" /usr/bin/fc-cache |
pankso@27 | 28 } |