wok diff noto-mono/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 03550e87324e |
children | b569b85b0fb9 |
line diff
1.1 --- a/noto-mono/receipt Sun Jul 10 20:46:36 2016 +0300 1.2 +++ b/noto-mono/receipt Sat Nov 27 15:12:31 2021 -0500 1.3 @@ -8,6 +8,9 @@ 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="NotoMono-$font-$VERSION.ttf" 1.9 +WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoMono-$font.ttf" 1.10 TAGS="font" 1.11 1.12 # Rules to configure and make the package. 1.13 @@ -22,19 +25,9 @@ 1.14 # This commit "5329592" introduced "NotoMono-*" font version "1.00": 1.15 # https://github.com/googlei18n/noto-fonts/commit/5329592b9d0fee9fc8e462b328884a011811ff2c 1.16 1.17 - mkdir -p $src 1.18 - for font in Regular; do 1.19 - get_file="NotoMono-$font.ttf" 1.20 - save_file="NotoMono-$font-$VERSION.ttf" 1.21 - url="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/$get_file" 1.22 - [ -e "$SRC/$save_file" ] || wget -T 30 -O "$SRC/$save_file" $url 1.23 - [ -e "$SRC/$save_file" ] || exit 1 1.24 - cp "$SRC/$save_file" "$src/$get_file" 1.25 - done 1.26 - 1.27 f=$install/usr/share/fonts/truetype/noto 1.28 mkdir -p $f 1.29 - cp -a $src/*.ttf $f 1.30 + cp -a $src/*.ttf $f/NotoMono-Regular.ttf 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg.