open_sans-1.101.recipe revision 6a21ac50
1SUMMARY="The Open Sans font"
2DESCRIPTION="Open Sans is a humanist sans serif typeface designed by Steve Matteson, \
3Type Director of Ascender Corp. Open Sans was designed with an upright stress, \
4open forms and a neutral, yet friendly appearance. It was optimized for print, web, \
5and mobile interfaces, and has excellent legibility characteristics in its letterforms."
6HOMEPAGE="http://www.google.com/fonts/specimen/Open+Sans"
7COPYRIGHT="2010-2011 Google Corporation"
8LICENSE="Apache v2"
9REVISION="1"
10# From Google fonts,
11# http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800
12# Leave out the checksum here as the file is generated on the fly.
13#SOURCE_URI="http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ"
14srcGitRev="beaec0837bd21524b57ecb435158f9011fc03999"
15SOURCE_URI="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-Bold.ttf#noarchive"
16CHECKSUM_SHA256="1b43de2449d39b65ff6f63315d4afda585f72fbbec2e3d9a56f59de6c75149d3"
17SOURCE_DIR=""
18SOURCE_URI_2="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-BoldItalic.ttf#noarchive"
19CHECKSUM_SHA256_2="3575d2afaaad69970380237a5d6357b6db241f53b77607482eaf9f299b8c07ec"
20SOURCE_URI_3="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-ExtraBold.ttf#noarchive"
21CHECKSUM_SHA256_3="395f150240d43dff8baea6586baf5665337de57b8204a501fbd6148b2fe165b7"
22SOURCE_URI_4="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-ExtraBoldItalic.ttf#noarchive"
23CHECKSUM_SHA256_4="d5de39bcdd010089d9db8dd1aebaefaf9e691bf9a49282ff43e1d1869b417892"
24SOURCE_URI_5="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-Italic.ttf#noarchive"
25CHECKSUM_SHA256_5="6cb918a707a06c4f98221d09344af4b98c9cb6184b13309a579caf0418d5eb74"
26SOURCE_URI_6="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-Light.ttf#noarchive"
27CHECKSUM_SHA256_6="1c8d3cc6810ecd3623ebff7d2c3db1a44024260c5ae662f8166d69b9425828ed"
28SOURCE_URI_7="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-LightItalic.ttf#noarchive"
29CHECKSUM_SHA256_7="fda70df85987b394ff384b899703bc0e55ac7bdba94d06f47462e155cf0c0350"
30SOURCE_URI_8="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-Regular.ttf#noarchive"
31CHECKSUM_SHA256_8="13c03e22a633919beb2847c58c8285fb8a735ee97097d7c48fd403f8294b05f8"
32SOURCE_URI_9="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-SemiBold.ttf#noarchive"
33CHECKSUM_SHA256_9="b4c2050b25d3d296d5cf58589ca00816dc72df42262c2f629d5c6a984a161aa4"
34SOURCE_URI_10="https://github.com/google/fonts/raw/$srcGitRev/apache/opensans/OpenSans-SemiBoldItalic.ttf#noarchive"
35CHECKSUM_SHA256_10="a8f2af8e79f46686b1cfcfb3a1fd53e94e88308d7c6ee7f85c733f4796fcc3a0"
36
37ARCHITECTURES="any"
38DISABLE_SOURCE_PACKAGE="yes"
39
40PROVIDES="open_sans = $portVersion"
41REQUIRES=""
42
43BUILD_REQUIRES=""
44BUILD_PREREQUIRES="coreutils"
45
46BUILD()
47{
48	true
49}
50
51INSTALL()
52{
53	FONTDIR=$fontsDir/ttfonts
54	mkdir -p ${FONTDIR}
55	cp  -R $sourceDir*/*.ttf ${FONTDIR}
56}
57