Adding recipe for webfont FontAwesome

This commit is contained in:
Humdinger
2016-08-15 18:03:00 +02:00
parent cba76fdef7
commit 6cc6fdceb9

View File

@@ -0,0 +1,39 @@
SUMMARY="A font containing scalable vector icons"
DESCRIPTION="FontAwesome contains over 600 icons and is most widely used on \
the internet to depict certain actions. Haiku's discussion forum at \
https://discuss.haiku-os.org uses it as well.
As long as Haiku doesn't support loading a font that's not installed, you \
should install this webfont to see all the icons on the discussion forum."
HOMEPAGE="http://fontawesome.io"
COPYRIGHT="2013-2016 Dave Gandy"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/FortAwesome/Font-Awesome/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="669fb1210c64eda3f998c86941641f1bcd0af4450643daf8841cb62d2b6c71a4"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
fontawesome = $portVersion
"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
coreutils
"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cd Font-Awesome-$portVersion
cp -a fonts/fontawesome-webfont.ttf ${FONTDIR}
}