wok-next view ttf-roboto/receipt @ rev 21683
updated glances (1.5.1 -> 3.1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:35:41 2020 +0100 (2020-06-29) |
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 }