Files
haikuports/media-fonts/roboto/roboto-2.136.recipe
2018-08-06 14:25:37 +02:00

49 lines
1.3 KiB
Bash

SUMMARY="The Android Roboto font"
DESCRIPTION="\
The Android design language relies on traditional typographic tools such as \
scale, space, rhythm, and alignment with an underlying grid. Successful \
deployment of these tools is essential to help users quickly understand a \
screen of information. To support such use of typography, Ice Cream Sandwich \
introduced a new type family named Roboto, created specifically for the \
requirements of UI and high-resolution screens.
The current TextView framework offers Roboto in thin, light, regular and bold \
weights, along with an italic style for each weight. The framework also offers \
the Roboto Condensed variant in regular and bold weights, along with an italic \
style for each weight.
"
HOMEPAGE="http://www.google.com/fonts/specimen/Roboto"
COPYRIGHT="2013 Christian Robertson"
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="https://github.com/google/roboto/releases/download/v$portVersion/roboto-hinted.zip"
CHECKSUM_SHA256="c4528791de55ade3d6c698738a70b457311e4dd296c5a3318aa729874067fa6a"
SOURCE_FILENAME="roboto-$portVersion.zip"
SOURCE_DIR=""
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
Roboto=$portVersion
"
REQUIRES=" "
BUILD_REQUIRES=" "
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cd roboto-hinted/
cp *.ttf ${FONTDIR}
}