wok-6.x view noto-mono/receipt @ rev 23028
updated libffcall (2.1 -> 2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 16:19:17 2020 +0100 (2020-03-03) |
parents | 03550e87324e |
children | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="noto-mono"
4 VERSION="1.00"
5 COMMIT="5329592"
6 CATEGORY="fonts"
7 SHORT_DESC="Noto Mono TrueType font"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="OFL"
10 WEB_SITE="http://www.google.com/get/noto/"
11 font=Regular
12 TARBALL="NotoMono-$font-$VERSION.ttf"
13 WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoMono-$font.ttf"
14 TAGS="font"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # The Noto font web site don't provides downloads of "Noto Mono".
21 # Github project provides versioned downloads, but only in form of
22 # "all in one" huge file.
24 # Solution: download individual versioned font files from Github project.
25 # This commit "5329592" introduced "NotoMono-*" font version "1.00":
26 # https://github.com/googlei18n/noto-fonts/commit/5329592b9d0fee9fc8e462b328884a011811ff2c
28 f=$install/usr/share/fonts/truetype/noto
29 mkdir -p $f
30 cp -a $src/*.ttf $f/NotoMono-Regular.ttf
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files *.ttf
37 }