Recursive: new recipe (#4449)

This commit is contained in:
miqlas
2019-12-25 18:37:53 +01:00
committed by GitHub
parent ba5e3f0459
commit fdf3508738

View File

@@ -0,0 +1,48 @@
SUMMARY="A variable font family for code & UI"
DESCRIPTION="Recursive Mono & Sans is a variable type family built for better \
code & UI. It is inspired by casual script signpainting, but designed \
primarily to meet the needs of programming environments and application \
interfaces.
In programming, “recursion” is when a function calls itself, using its own \
output as an input to yield powerful results. Recursive Mono was used as a \
tool to help build itself: it was used to write Python scripts to automate \
type production work and to generate specimen images, and it was used in \
HTML, CSS, and JS to create web-based proofs & prototypes. Through this \
active usage, Recursive Mono was crafted to be both fun to look at as well \
as deeply useful for all-day work.
Recursive Sans borrows glyphs from its parent mono but adjusts the widths \
of many key glyphs for comfortable readability. Its metrics are superplexed \
every style takes up the exact same horizontal space, across all styles. \
In this 3-axis variable font, this allows for fluid transitions between \
weight, slant, and “expression” (casual to strict letterforms), all without \
text shifts or layout reflow. Not only does this allow for new interactive \
possibilities in UI, but it also makes for a uniquely fun typesetting \
experience."
HOMEPAGE="https://www.recursive.design/"
COPYRIGHT="2019 The Recursive Project Authors"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/arrowtype/recursive/releases/download/1.027/recursive-statics-four_way_split-static_ttf.zip"
CHECKSUM_SHA256="8ee27ce8c38ee0557269b8118a97e488f6a0fccd3aacb69e25f82c71f0162e51"
SOURCE_DIR="recursive-statics-four_way_split-static_ttf"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
recursive = $portVersion
"
BUILD_PREREQUIRES="
cmd:cp
cmd:mkdir
"
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp -a *.ttf ${FONTDIR}
}