SUMMARY="The Cantarell Font Family"
DESCRIPTION="\
The Cantarell font family is a contemporary humanistic sans serif. It was \
designed by Dave Crossland for on-screen reading - in particular for reading \
web pages on the author's HTC mobile phone. Since 2010 it's the default \
typaface of Gnome, the popular graphical user interface. Currently it fully \
supports Basic Latin, Western European, Catalan, Baltic, Turkish, Central \
European, Dutch and Afrikaans writing systems. The Cantarell typeface is \
included in Google Fonts too.
"
HOMEPAGE="http://wiki.gnome.org/CantarellFonts"
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.0/cantarell-fonts-${portVersion}.tar.xz"
CHECKSUM_SHA256="15bf87555321556750bc68ace360f3df420359a8ab257e15c44fb69710152f1c"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2009-2011 Understanding Limited
2010-2012 Jakub Steiner"
REVISION="1"

ARCHITECTURES="any"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
DISABLE_SOURCE_PACKAGE=yes

PROVIDES="cantarell = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"

SOURCE_DIR="cantarell-fonts-$portVersion"

BUILD()
{
	true
}

INSTALL()
{
	FONTDIR=$fontsDir/otfonts
	mkdir -p ${FONTDIR}
	cp otf/*.otf ${FONTDIR}
	cp README ${FONTDIR}/cantarell.readme
}
