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

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents d43bf7aae921
children
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="$PACKAGE-base $PACKAGE"
16 compile_rules() {
17 FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto
18 mkdir -p $FONTPATH
19 install -Dm644 $src/*.ttf $FONTPATH
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 *-base)
25 copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \
26 Roboto-BoldItalic.ttf
27 CAT="fonts|base family"
28 DEPENDS=" "
29 TAGS="font ttf"
30 ;;
31 ttf-roboto)
32 copy @std @rm
33 DEPENDS="ttf-roboto-base"
34 TAGS="font ttf"
35 ;;
36 esac
37 }