wok-next diff ttf-dejavu/receipt @ rev 20121
Up libsasl-without-ldap, cyrus-sasl-pam: (2.1.26)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 09:01:11 2017 +0100 (2017-10-31) |
parents | ca2828ae20d6 |
children | 0e7893ac206d |
line diff
1.1 --- a/ttf-dejavu/receipt Mon Jun 19 22:34:23 2017 +0300 1.2 +++ b/ttf-dejavu/receipt Tue Oct 31 09:01:11 2017 +0100 1.3 @@ -1,12 +1,12 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="ttf-dejavu" 1.7 -VERSION="2.35" 1.8 +VERSION="2.37" 1.9 CATEGORY="fonts" 1.10 SHORT_DESC="DejaVu TrueType fonts" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="other" 1.13 -WEB_SITE="http://dejavu-fonts.org/" 1.14 +WEB_SITE="https://dejavu-fonts.github.io/" 1.15 HOST_ARCH="i486 arm" 1.16 1.17 TARBALL="dejavu-fonts-ttf-$VERSION.tar.bz2" 1.18 @@ -23,13 +23,15 @@ 1.19 f=$install/usr/share/fonts/truetype/ttf-dejavu 1.20 mkdir -p $f 1.21 for font in $src/ttf/*.ttf; do 1.22 - a="$a\n$(printf "%-32s" $(basename $font .ttf)): $(ls -l $font | awk '{print $5}') B -> " 1.23 + size1=$(ls -l $font | awk '{print $5}') 1.24 + a="$a\n$(printf "%-32s" $(basename $font .ttf)): $size1 B -> " 1.25 echo "Processing $(basename $font):" 1.26 # About FontForge scripting and this command, see: 1.27 # https://fontforge.github.io/scripting-alpha.html#Generate 1.28 fontforge -quiet -lang=ff -c 'Open($1); Generate($2,"",0x90)' \ 1.29 $font $f/$(basename $font) 1.30 - a="$a$(ls -l $f/$(basename $font) | awk '{print $5}') B" 1.31 + size2=$(ls -l $f/$(basename $font) | awk '{print $5}') 1.32 + a="$a$size2 B ($(( $size2 - $size1 )) B)" 1.33 echo 1.34 done 1.35 echo -e "\nResults:\n========\n$a"