46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
SUMMARY="Font family from Ubuntu operating system"
|
|
DESCRIPTION="\
|
|
The Ubuntu Font Family belongs to sans-serif typeface. It's set as default \
|
|
font for the current releases of Ubuntu, one of the most popular Linux-based \
|
|
operating systems. It was designed by Dalton Maag in 2010 and now it covers \
|
|
200-250 languages. The Ubuntu Font Family is included in Google Fonts too.
|
|
"
|
|
HOMEPAGE="http://font.ubuntu.com"
|
|
COPYRIGHT="2011 Canonical Ltd."
|
|
LICENSE="Ubuntu Font License 1.0"
|
|
REVISION="1"
|
|
SOURCE_URI="http://font.ubuntu.com/download/ubuntu-font-family-$portVersion.zip"
|
|
CHECKSUM_SHA256="456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42"
|
|
SOURCE_DIR="ubuntu-font-family-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE="yes"
|
|
|
|
PROVIDES="
|
|
ubuntu_font_family = $portVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
coreutils
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
FONTDIR=$fontsDir/ttfonts
|
|
mkdir -p ${FONTDIR}
|
|
cp Ubuntu-B.ttf ${FONTDIR}
|
|
cp Ubuntu-BI.ttf ${FONTDIR}
|
|
cp Ubuntu-C.ttf ${FONTDIR}
|
|
cp Ubuntu-L.ttf ${FONTDIR}
|
|
cp Ubuntu-LI.ttf ${FONTDIR}
|
|
cp Ubuntu-M.ttf ${FONTDIR}
|
|
cp Ubuntu-MI.ttf ${FONTDIR}
|
|
cp Ubuntu-R.ttf ${FONTDIR}
|
|
cp Ubuntu-RI.ttf ${FONTDIR}
|
|
cp UbuntuMono-B.ttf ${FONTDIR}
|
|
cp UbuntuMono-BI.ttf ${FONTDIR}
|
|
cp UbuntuMono-R.ttf ${FONTDIR}
|
|
cp UbuntuMono-RI.ttf ${FONTDIR}
|
|
cp README.txt ${FONTDIR}/ubuntu_font_family.readme
|
|
}
|