wok-next annotate ttf-roboto/receipt @ rev 20738
Up scons (3.0.1); add scons2 (2.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 21:13:51 2018 +0300 (2018-05-29) |
parents | 0ff6bd677938 |
children | d5aab818505e |
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@19759 | 14 SPLIT="ttf-roboto-base ttf-roboto" |
al@19759 | 15 |
al@19759 | 16 # Rules to configure and make the package. |
al@19759 | 17 compile_rules() |
al@19759 | 18 { |
al@19759 | 19 FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto |
al@19759 | 20 mkdir -p $FONTPATH |
al@19759 | 21 install -Dm644 $src/*.ttf $FONTPATH |
al@19759 | 22 } |
al@13927 | 23 |
al@13927 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13927 | 25 genpkg_rules() |
al@13927 | 26 { |
al@19759 | 27 case $PACKAGE in |
al@19759 | 28 ttf-roboto-base) |
al@19759 | 29 copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \ |
al@19759 | 30 Roboto-BoldItalic.ttf |
al@19759 | 31 CAT="fonts|base family" |
al@19759 | 32 DEPENDS=" " |
al@19759 | 33 TAGS="font ttf" |
al@19759 | 34 ;; |
al@19759 | 35 ttf-roboto) |
al@20513 | 36 copy @std @rm |
al@19759 | 37 DEPENDS="ttf-roboto-base" |
al@19759 | 38 TAGS="font ttf" |
al@19759 | 39 ;; |
al@19759 | 40 esac |
al@13927 | 41 } |