42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
SUMMARY="The Lohit family of Indic fonts"
|
|
DESCRIPTION="\
|
|
Lohit, which means 'red' in Sanskrit, is a family of Indic fonts. It was first \
|
|
released by Red Hat in 2004 but now it's developed by Fedora Project. The \
|
|
font family currently supports 21 Indian languages: Assamese, Bengali, \
|
|
Devanagari (Hindi, Kashmiri, Konkani, Maithili, Marathi, Nepali, Sindhi, \
|
|
Santali, Bodo, Dogri), Gujarati, Kannada, Malayalam, Manipuri, Oriya, \
|
|
Punjabi, Tamil, and Telugu. The fonts are used as web fonts for Wikipedia and \
|
|
some other Wikimedia Foundation sites.
|
|
"
|
|
HOMEPAGE="https://pagure.io/lohit/"
|
|
COPYRIGHT="2004-2011 Red Hat"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://releases.pagure.org/lohit/lohit-fonts-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="68091ab047f9e4e22f069f802dceac52994267f126dc238b3815eed217a02991"
|
|
SOURCE_DIR="lohit-fonts-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE="yes"
|
|
|
|
PROVIDES="
|
|
lohit = $portVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:find
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
true
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
FONTDIR=$fontsDir/ttfonts
|
|
mkdir -p ${FONTDIR}
|
|
find . -name "*.ttf" -exec cp {} ${FONTDIR} \;
|
|
cp README ${FONTDIR}/lohit.readme
|
|
}
|