wok diff ttf-roboto/receipt @ rev 14201
linux-libre: version renamed !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 09:29:17 2013 +0100 (2013-03-14) |
parents | |
children | 7a526dcd4932 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ttf-roboto/receipt Thu Mar 14 09:29:17 2013 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ttf-roboto" 1.7 +VERSION="20120823" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Android Roboto Fonts" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="Apache License 2.0 /usr/share/fonts/truetype/ttf-roboto/COPYING.txt" 1.12 +WEB_SITE="http://developer.android.com/design/style/typography.html" 1.13 +WANTED="ttf-roboto-base" 1.14 +DEPENDS="ttf-roboto-base" 1.15 +TAGS="font ttf" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto 1.21 + mkdir -p $FONTPATH 1.22 + 1.23 + for FILE in $src/*.ttf; do 1.24 + install -Dm444 $FILE $FONTPATH 1.25 + done 1.26 + # these files are included in the package ttf-roboto-base 1.27 + for FONT in Regular Bold Italic BoldItalic; do 1.28 + rm -f $FONTPATH/Roboto-$FONT.ttf 1.29 + done 1.30 +}