wok-current view ttf-roboto-base/receipt @ rev 13927
Add ttf-roboto: Android Roboto Fonts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 26 04:14:00 2013 +0000 (2013-01-26) |
parents | |
children | 7a526dcd4932 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-roboto-base"
4 VERSION="20120823"
5 CATEGORY="x-window"
6 SHORT_DESC="Android Roboto Fonts (base family)"
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 TARBALL="Roboto_Hinted_$VERSION.zip"
11 WGET_URL="http://developer.android.com/downloads/design/$TARBALL"
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
19 for FONT in Regular Bold Italic BoldItalic; do
20 install -Dm444 $src/Roboto-$FONT.ttf $FONTPATH
21 done
22 install -Dm444 $src/COPYING.txt $FONTPATH
23 }