wok-next annotate 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
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@19759 36 copy @std
al@19759 37 remove_already_packed
al@19759 38 DEPENDS="ttf-roboto-base"
al@19759 39 TAGS="font ttf"
al@19759 40 ;;
al@19759 41 esac
al@13927 42 }