Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 13927:8641da148c78

Add ttf-roboto: Android Roboto Fonts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 26 04:14:00 2013 +0000 (18 months ago ago)
parents 6884aafa28b8
children 8c4ebc5cc1de
files ttf-roboto-base/receipt ttf-roboto/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ttf-roboto-base/receipt	Sat Jan 26 04:14:00 2013 +0000
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ttf-roboto-base"
     1.7 +VERSION="20120823"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Android Roboto Fonts (base family)"
    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 +TARBALL="Roboto_Hinted_$VERSION.zip"
    1.14 +WGET_URL="http://developer.android.com/downloads/design/$TARBALL"
    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 +	for FONT in Regular Bold Italic BoldItalic; do
    1.23 +		install -Dm444 $src/Roboto-$FONT.ttf $FONTPATH
    1.24 +	done
    1.25 +	install -Dm444 $src/COPYING.txt $FONTPATH
    1.26 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ttf-roboto/receipt	Sat Jan 26 04:14:00 2013 +0000
     2.3 @@ -0,0 +1,27 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ttf-roboto"
     2.7 +VERSION="20120823"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Android Roboto Fonts"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="Apache License 2.0 /usr/share/fonts/truetype/ttf-roboto/COPYING.txt"
    2.12 +WEB_SITE="http://developer.android.com/design/style/typography.html"
    2.13 +WANTED="ttf-roboto-base"
    2.14 +DEPENDS="ttf-roboto-base"
    2.15 +TAGS="font ttf"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto
    2.21 +	mkdir -p $FONTPATH
    2.22 +
    2.23 +	for FILE in $src/*.ttf; do
    2.24 +		install -Dm444 $FILE $FONTPATH
    2.25 +	done
    2.26 +	# these files are included in the package ttf-roboto-base
    2.27 +	for FONT in Regular Bold Italic BoldItalic; do
    2.28 +		rm -f $FONTPATH/Roboto-$FONT.ttf
    2.29 +	done
    2.30 +}