Files
haikuports/media-fonts/ibm_plex/ibm_plex-0.5.3.recipe
2018-01-11 13:17:26 +00:00

41 lines
1.2 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="IBMs new typeface, IBM Plex"
DESCRIPTION="IBM Plex is a font family designed to convey the IBM identity on \
everything from product packaging to the ibm.com website to development code. \
It is an open source typeface superfamily developed by Mike Abbink for IBM to \
use in branding. It was commissioned to substitute Helvetica Neue and has 3 \
typefaces:
* IBM Plex Serif A serif typeface.
* IBM Plex Sans A sans-serif typeface.
* IBM Plex Mono A monospaced typeface."
HOMEPAGE="https://ibm.github.io/type"
COPYRIGHT="2017 IBM Corp. with Reserved Font Name 'Plex'"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/IBM/type/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="0e212de6d0f33604b6c22e9743aab05bc12d482b1bdc7402972f3f6a9aa92a77"
SOURCE_FILENAME="type-$portVersion.tar.gz"
SOURCE_DIR="type-$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="ibm_plex = $portVersion"
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp fonts/Mono/desktop/pc/*.ttf ${FONTDIR}
cp fonts/Sans/desktop/pc/*.ttf ${FONTDIR}
cp fonts/Serif/desktop/pc/*.ttf ${FONTDIR}
}