wok-next view ttf-roboto/receipt @ rev 20221

Up pyopenssl (17.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 14:16:37 2017 +0100 (2017-11-05)
parents d1570adae0ba
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ttf-roboto"
4 VERSION="2.136"
5 CATEGORY="fonts"
6 SHORT_DESC="Android Roboto Fonts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://fonts.google.com/specimen/Roboto"
11 TARBALL="roboto-hinted-$VERSION.zip"
12 WGET_URL="https://github.com/google/roboto/releases/download/v$VERSION/roboto-hinted.zip"
14 SPLIT="ttf-roboto-base ttf-roboto"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto
20 mkdir -p $FONTPATH
21 install -Dm644 $src/*.ttf $FONTPATH
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 ttf-roboto-base)
29 copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \
30 Roboto-BoldItalic.ttf
31 CAT="fonts|base family"
32 DEPENDS=" "
33 TAGS="font ttf"
34 ;;
35 ttf-roboto)
36 copy @std
37 remove_already_packed
38 DEPENDS="ttf-roboto-base"
39 TAGS="font ttf"
40 ;;
41 esac
42 }