wok-6.x view ttf-roboto/receipt @ rev 14283

Add perl-fuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 15:49:36 2013 +0200 (2013-04-06)
parents
children 7a526dcd4932
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-roboto"
4 VERSION="20120823"
5 CATEGORY="x-window"
6 SHORT_DESC="Android Roboto Fonts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache License 2.0 /usr/share/fonts/truetype/ttf-roboto/COPYING.txt"
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/*.ttf; do
21 install -Dm444 $FILE $FONTPATH
22 done
23 # these files are included in the package ttf-roboto-base
24 for FONT in Regular Bold Italic BoldItalic; do
25 rm -f $FONTPATH/Roboto-$FONT.ttf
26 done
27 }