From e716de7243a3be922a4bc49f57873d23f66df3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emir=20Sar=C4=B1?= Date: Sun, 24 May 2020 12:17:24 +0000 Subject: [PATCH] Cascadia Code: Add recipe (#5012) --- .../cascadia_code/cascadia-2005.15.recipe | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 media-fonts/cascadia_code/cascadia-2005.15.recipe diff --git a/media-fonts/cascadia_code/cascadia-2005.15.recipe b/media-fonts/cascadia_code/cascadia-2005.15.recipe new file mode 100644 index 000000000..73756ce70 --- /dev/null +++ b/media-fonts/cascadia_code/cascadia-2005.15.recipe @@ -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} +}