wok-6.x diff noto-serif/receipt @ rev 22961
updated iso-codes (3.45 -> 4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 16:47:15 2020 +0100 (2020-02-28) |
parents | 03550e87324e |
children | b569b85b0fb9 |
line diff
1.1 --- a/noto-serif/receipt Sun Jul 10 20:46:36 2016 +0300 1.2 +++ b/noto-serif/receipt Fri Feb 28 16:47:15 2020 +0100 1.3 @@ -8,6 +8,10 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="OFL" 1.6 WEB_SITE="http://www.google.com/get/noto/" 1.7 +font=Regular 1.8 +TARBALL="NotoSerif-$font-$VERSION.ttf" 1.9 +EXTRA_SOURCE_FILES="NotoSerif-Bold-$VERSION.ttf NotoSerif-Italic-$VERSION.ttf NotoSerif-BoldItalic-$VERSION.ttf" 1.10 +WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoSerif-$font.ttf" 1.11 TAGS="font" 1.12 1.13 SIBLINGS="noto-serif" 1.14 @@ -28,10 +32,10 @@ 1.15 # (NotoSerif-Italic was bumped to 1.07): 1.16 # https://github.com/googlei18n/noto-fonts/commit/0af3d5fd0830eaeb1825044b2f4c04125eacf08f 1.17 1.18 - mkdir -p $src 1.19 - for variant in Regular Bold Italic BoldItalic; do 1.20 - get_file="NotoSerif-$variant.ttf" 1.21 - save_file="NotoSerif-$variant-$VERSION.ttf" 1.22 + mv $TARBALL NotoSerif-Regular.ttf 1.23 + for font in Bold Italic BoldItalic; do 1.24 + get_file="NotoSerif-$font.ttf" 1.25 + save_file="NotoSerif-$font-$VERSION.ttf" 1.26 url="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/$get_file" 1.27 [ -e "$SRC/$save_file" ] || wget -T 30 -O "$SRC/$save_file" $url 1.28 [ -e "$SRC/$save_file" ] || exit 1