SUMMARY="Font family from Google's Android project"
DESCRIPTION="\
The Droid family of fonts was designed by Ascender's Steve Matteson beginning \
in the fall of 2006. The goal was to provide optimal quality and reading \
comfort on a mobile handset. The Droid fonts were optimized for use in \
application menus, web browsers and for other screen text.
"
HOMEPAGE="https://www.droidfonts.com"
COPYRIGHT="2005-2008 The Android Open Source Project"
LICENSE="Apache v2"
REVISION="3"
# source zip extracted from git clone https://android.googlesource.com/platform/frameworks/base tag android-4.3_r2.2 /data/fonts
SOURCE_URI="http://ports-space.haiku-files.org/media-fonts/source/droid-4.3_r2.2.zip"
CHECKSUM_SHA256="221133c329efdb2b911c18ef222eeb3fcb011e5be7c37623e68faa90c15b8cd0"
SOURCE_DIR="fonts"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="droid = $portVersion"
REQUIRES=""

BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"

BUILD()
{
	true
}

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cp *.ttf ${FONTDIR}
}
