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="2021, 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="22c030fec5e5c516580fd6e24b385c935baae2f6c110024aeba20240d533a68a"
SOURCE_DIR="ttf"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="cascadia_code = $portVersion"
REQUIRES=""

BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"

BUILD()
{
	true
}

INSTALL()
{
	FONTDIR=$fontsDir/ttfonts
	mkdir -p ${FONTDIR}
	cp static/*.ttf ${FONTDIR}
}
