Cascadia Code: Add recipe (#5012)

This commit is contained in:
Emir Sarı
2020-05-24 12:17:24 +00:00
committed by GitHub
parent e43c5756b6
commit e716de7243

View File

@@ -0,0 +1,32 @@
SUMMARY="A monospaced font by Microsoft that includes programming ligatures"
DESCRIPTION="This is a fun, new monospaced font that includes programming \
ligatures and is designed to enhance the modern look and feel of the Windows \
Terminal."
HOMEPAGE="https://github.com/microsoft/cascadia-code/"
COPYRIGHT="2020, Microsoft Corporation"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/microsoft/cascadia-code/releases/download/v$portVersion/CascadiaCode_$portVersion.zip"
CHECKSUM_SHA256="b3d8495e9cdee90d0dbaf60b7db018413e130265dc27e2be7a8db04cf98fddce"
SOURCE_DIR="otf"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="cascadia = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/otfonts
mkdir -p ${FONTDIR}
cp *.otf ${FONTDIR}
}