wok-next annotate ttf-roboto/receipt @ rev 21622
updated elfkickers (3.0 -> 3.1a)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 14:35:46 2020 +0100 (2020-06-25) |
parents | d43bf7aae921 |
children |
rev | line source |
---|---|
al@19759 | 1 # SliTaz package receipt v2. |
al@13927 | 2 |
al@13927 | 3 PACKAGE="ttf-roboto" |
al@19759 | 4 VERSION="2.136" |
al@19125 | 5 CATEGORY="fonts" |
al@13927 | 6 SHORT_DESC="Android Roboto Fonts" |
al@13927 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14742 | 8 LICENSE="Apache" |
al@19759 | 9 WEB_SITE="https://fonts.google.com/specimen/Roboto" |
al@19759 | 10 |
al@19759 | 11 TARBALL="roboto-hinted-$VERSION.zip" |
al@19759 | 12 WGET_URL="https://github.com/google/roboto/releases/download/v$VERSION/roboto-hinted.zip" |
al@19759 | 13 |
al@21020 | 14 SPLIT="$PACKAGE-base $PACKAGE" |
al@19759 | 15 |
al@21020 | 16 compile_rules() { |
al@19759 | 17 FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto |
al@19759 | 18 mkdir -p $FONTPATH |
al@19759 | 19 install -Dm644 $src/*.ttf $FONTPATH |
al@19759 | 20 } |
al@13927 | 21 |
al@21020 | 22 genpkg_rules() { |
al@19759 | 23 case $PACKAGE in |
al@21020 | 24 *-base) |
al@19759 | 25 copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \ |
al@19759 | 26 Roboto-BoldItalic.ttf |
al@19759 | 27 CAT="fonts|base family" |
al@19759 | 28 DEPENDS=" " |
al@19759 | 29 TAGS="font ttf" |
al@19759 | 30 ;; |
al@19759 | 31 ttf-roboto) |
al@20513 | 32 copy @std @rm |
al@19759 | 33 DEPENDS="ttf-roboto-base" |
al@19759 | 34 TAGS="font ttf" |
al@19759 | 35 ;; |
al@19759 | 36 esac |
al@13927 | 37 } |