Add Noto Sans fonts for South Asian languages

This was done as a part of GCI 2014.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu
2014-12-20 00:31:36 +00:00
parent 0749956d73
commit 12fe312c99
7 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
LANG_EN="Sinhala"
LANG_DL="${LANG_EN}"
LANG_LC="sinhala"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"
HOMEPAGE="https://www.google.com/get/noto/"
SRC_URI="https://www.google.com/get/noto/pkgs/NotoSans${LANG_DL}-hinted.zip"
CHECKSUM_SHA256="2cf8027b61f0657e64959e17eb16f4d84658a950c36ee483d4bf1ade8df9d683"
LICENSE="Apache v2"
COPYRIGHT="2014 Google Inc."
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
noto_sans_${LANG_LC}=$portVersion
"
REQUIRES=" "
BUILD_REQUIRES=" "
BUILD_PREREQUIRES="
coreutils
"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/NotoSans${LANG_DL}
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}