# SliTaz package receipt. PACKAGE="ttf-roboto" VERSION="1.2" CATEGORY="fonts" SHORT_DESC="Android Roboto Fonts" MAINTAINER="al.bobylev@gmail.com" LICENSE="Apache" WEB_SITE="https://developer.android.com/design/style/typography.html" WANTED="ttf-roboto-base" DEPENDS="ttf-roboto-base" TAGS="font ttf" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto mkdir -p $FONTPATH for FILE in $src/Roboto_v$VERSION/Roboto/*.ttf \ $src/Roboto_v$VERSION/RobotoCondensed/*.ttf; do install -Dm444 $FILE $FONTPATH done # these files are included in the package ttf-roboto-base for FONT in Regular Bold Italic BoldItalic; do rm -f $FONTPATH/Roboto-$FONT.ttf done }