wok-current annotate ttf-roboto/receipt @ rev 16550
ttf-dejavu, ttf-dejavu-extra: up (2.34); ttf-roboto, ttf-roboto-base: up (1.2); ttf-mgopen: fix wget url
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 29 19:18:57 2014 +0000 (2014-04-29) |
parents | 7a526dcd4932 |
children | c4533f65e171 |
rev | line source |
---|---|
al@13927 | 1 # SliTaz package receipt. |
al@13927 | 2 |
al@13927 | 3 PACKAGE="ttf-roboto" |
al@16550 | 4 VERSION="1.2" |
al@13927 | 5 CATEGORY="x-window" |
al@13927 | 6 SHORT_DESC="Android Roboto Fonts" |
al@13927 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14742 | 8 LICENSE="Apache" |
al@13927 | 9 WEB_SITE="http://developer.android.com/design/style/typography.html" |
al@13927 | 10 WANTED="ttf-roboto-base" |
al@13927 | 11 DEPENDS="ttf-roboto-base" |
al@13927 | 12 TAGS="font ttf" |
al@13927 | 13 |
al@13927 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13927 | 15 genpkg_rules() |
al@13927 | 16 { |
al@13927 | 17 FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto |
al@13927 | 18 mkdir -p $FONTPATH |
al@13927 | 19 |
al@16550 | 20 for FILE in $src/Roboto/*.ttf $src/RobotoCondensed/*.ttf; do |
al@13927 | 21 install -Dm444 $FILE $FONTPATH |
al@13927 | 22 done |
al@13927 | 23 # these files are included in the package ttf-roboto-base |
al@13927 | 24 for FONT in Regular Bold Italic BoldItalic; do |
al@13927 | 25 rm -f $FONTPATH/Roboto-$FONT.ttf |
al@13927 | 26 done |
al@13927 | 27 } |