wok-current annotate noto-mono/receipt @ rev 22338
remove x11vnc-extra
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 15 18:28:42 2019 +0100 (2019-11-15) |
parents | 03550e87324e |
children | b569b85b0fb9 |
rev | line source |
---|---|
al@19307 | 1 # SliTaz package receipt. |
al@19307 | 2 |
al@19307 | 3 PACKAGE="noto-mono" |
al@19307 | 4 VERSION="1.00" |
al@19307 | 5 COMMIT="5329592" |
al@19307 | 6 CATEGORY="fonts" |
al@19307 | 7 SHORT_DESC="Noto Mono TrueType font" |
al@19307 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19307 | 9 LICENSE="OFL" |
al@19307 | 10 WEB_SITE="http://www.google.com/get/noto/" |
pascal@22338 | 11 font=Regular |
pascal@22338 | 12 TARBALL="NotoMono-$font-$VERSION.ttf" |
pascal@22338 | 13 WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoMono-$font.ttf" |
al@19307 | 14 TAGS="font" |
al@19307 | 15 |
al@19307 | 16 # Rules to configure and make the package. |
al@19307 | 17 compile_rules() |
al@19307 | 18 { |
al@19307 | 19 # The Noto font web site don't provides downloads of "Noto Mono". |
al@19307 | 20 |
al@19307 | 21 # Github project provides versioned downloads, but only in form of |
al@19307 | 22 # "all in one" huge file. |
al@19307 | 23 |
al@19307 | 24 # Solution: download individual versioned font files from Github project. |
al@19307 | 25 # This commit "5329592" introduced "NotoMono-*" font version "1.00": |
al@19307 | 26 # https://github.com/googlei18n/noto-fonts/commit/5329592b9d0fee9fc8e462b328884a011811ff2c |
al@19307 | 27 |
al@19307 | 28 f=$install/usr/share/fonts/truetype/noto |
al@19307 | 29 mkdir -p $f |
pascal@22338 | 30 cp -a $src/*.ttf $f/NotoMono-Regular.ttf |
al@19307 | 31 } |
al@19307 | 32 |
al@19307 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19307 | 34 genpkg_rules() |
al@19307 | 35 { |
al@19307 | 36 cook_copy_files *.ttf |
al@19307 | 37 } |