wok annotate ttf-roboto-base/receipt @ rev 19843
Add mytop
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 13 13:16:09 2017 +0100 (2017-03-13) |
parents | c4533f65e171 |
children | a78610b2eb47 |
rev | line source |
---|---|
al@13927 | 1 # SliTaz package receipt. |
al@13927 | 2 |
al@13927 | 3 PACKAGE="ttf-roboto-base" |
al@16550 | 4 VERSION="1.2" |
al@19125 | 5 CATEGORY="fonts" |
al@13927 | 6 SHORT_DESC="Android Roboto Fonts (base family)" |
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@16550 | 10 TARBALL="roboto-$VERSION.zip" |
al@13927 | 11 WGET_URL="http://developer.android.com/downloads/design/$TARBALL" |
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@16550 | 19 |
al@13927 | 20 for FONT in Regular Bold Italic BoldItalic; do |
al@16551 | 21 install -Dm444 $src/Roboto_v$VERSION/Roboto/Roboto-$FONT.ttf $FONTPATH |
al@13927 | 22 done |
al@13927 | 23 } |