wok diff noto-mono/receipt @ rev 21317
updated libtasn1 and libtasn1-dev (4.5 -> 4.13)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 18 17:11:52 2019 +0100 (2019-04-18) |
parents | |
children | ba1e68274f76 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/noto-mono/receipt Thu Apr 18 17:11:52 2019 +0100 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="noto-mono" 1.7 +VERSION="1.00" 1.8 +COMMIT="5329592" 1.9 +CATEGORY="fonts" 1.10 +SHORT_DESC="Noto Mono TrueType font" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="OFL" 1.13 +WEB_SITE="http://www.google.com/get/noto/" 1.14 +TAGS="font" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + # The Noto font web site don't provides downloads of "Noto Mono". 1.20 + 1.21 + # Github project provides versioned downloads, but only in form of 1.22 + # "all in one" huge file. 1.23 + 1.24 + # Solution: download individual versioned font files from Github project. 1.25 + # This commit "5329592" introduced "NotoMono-*" font version "1.00": 1.26 + # https://github.com/googlei18n/noto-fonts/commit/5329592b9d0fee9fc8e462b328884a011811ff2c 1.27 + 1.28 + mkdir -p $src 1.29 + for font in Regular; do 1.30 + get_file="NotoMono-$font.ttf" 1.31 + save_file="NotoMono-$font-$VERSION.ttf" 1.32 + url="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/$get_file" 1.33 + [ -e "$SRC/$save_file" ] || wget -T 30 -O "$SRC/$save_file" $url 1.34 + [ -e "$SRC/$save_file" ] || exit 1 1.35 + cp "$SRC/$save_file" "$src/$get_file" 1.36 + done 1.37 + 1.38 + f=$install/usr/share/fonts/truetype/noto 1.39 + mkdir -p $f 1.40 + cp -a $src/*.ttf $f 1.41 +} 1.42 + 1.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 +genpkg_rules() 1.45 +{ 1.46 + cook_copy_files *.ttf 1.47 +}