Files
haikuports/media-fonts/ibm_plex/ibm_plex-5.1.3.recipe
2021-07-16 09:49:03 +02:00

48 lines
1.6 KiB
Bash
Raw Permalink 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 8 \
typefaces:
* IBM PLex Mono - A monospaced typeface.
* IBM Plex Sans A sans-serif typeface.
* IBM Plex Sans Arabic - A sans-serif Arabic typeface.
* IBM Plex Sans Condensed A sans-serif condensed typeface.
* IBM Plex Sans Devanagari - A sans-serif Devanagari typeface.
* IBM Plex Sans Hebrew A sans-serif Hebrew typeface.
* IBK Plex Sans KR - A sans-serif Korean typeface.
* IBM Plex Sans Thai A sans-serif Thai typeface.
* IBM Plex Sans Thai-Looped - A looped sans-serif Thai typeface.
* IBM Plex Serif - A serif typeface."
HOMEPAGE="https://github.com/IBM/plex"
COPYRIGHT="2021 IBM Corp. with Reserved Font Name 'Plex'"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/IBM/plex/releases/download/v$portVersion/TrueType.zip"
CHECKSUM_SHA256="2c9f07cc1c0fd0288b1c68b8472362b5a1534f486978288c3c2cf794f168f01c"
SOURCE_FILENAME="plex-$portVersion.zip"
SOURCE_DIR="TrueType"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="ibm_plex = $portVersion"
BUILD_PREREQUIRES="
coreutils
"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
install -m 755 -d "$FONTDIR"
for i in "IBM-Plex-*" "IBM-Plex-Sans-KR/hinted"; do
install -m 644 -t "$FONTDIR" $i/*.ttf
done
}