Add a new font, Open Sans

This commit is contained in:
Chirayu Desai
2015-01-06 19:10:15 +00:00
parent 8b0760aa95
commit 57240cc6eb

View File

@@ -0,0 +1,36 @@
SUMMARY="The Open Sans font"
DESCRIPTION="Open Sans is a humanist sans serif typeface designed by Steve Matteson, \
Type Director of Ascender Corp. Open Sans was designed with an upright stress, \
open forms and a neutral, yet friendly appearance. It was optimized for print, web, \
and mobile interfaces, and has excellent legibility characteristics in its letterforms."
HOMEPAGE="http://www.google.com/fonts/specimen/Open+Sans"
# From Google fonts,
# http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800
# Leave out the checksum here as the file is generated on the fly.
SRC_URI="http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ"
SRC_FILENAME="open-sans.zip"
LICENSE="Apache v2"
COPYRIGHT="2010-2011 Google Corporation"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="open_sans = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}