wok-6.x view ttf-roboto/receipt @ rev 19312
Add GNU EDMA Project.]
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Tue Jul 12 03:16:09 2016 -0300 (2016-07-12) |
parents | c4533f65e171 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-roboto"
4 VERSION="1.2"
5 CATEGORY="fonts"
6 SHORT_DESC="Android Roboto Fonts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://developer.android.com/design/style/typography.html"
10 WANTED="ttf-roboto-base"
11 DEPENDS="ttf-roboto-base"
12 TAGS="font ttf"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto
18 mkdir -p $FONTPATH
20 for FILE in $src/Roboto_v$VERSION/Roboto/*.ttf \
21 $src/Roboto_v$VERSION/RobotoCondensed/*.ttf; do
22 install -Dm444 $FILE $FONTPATH
23 done
24 # these files are included in the package ttf-roboto-base
25 for FONT in Regular Bold Italic BoldItalic; do
26 rm -f $FONTPATH/Roboto-$FONT.ttf
27 done
28 }