media-fonts: Add the nice 'inter' font

This commit is contained in:
Alexander von Gluck IV
2024-03-25 20:10:39 -05:00
parent a8241432b1
commit c188ba5280

View File

@@ -0,0 +1,27 @@
SUMMARY="The Inter font"
DESCRIPTION="The Inter font is a workhorse of a typeface carefully crafted \
and designed for a wide range of applications, from detailed user interfaces \
to marketing and signage."
HOMEPAGE="https://rsms.me/inter/"
COPYRIGHT="2016 Inter Project Authors"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/rsms/inter/releases/download/v${portVersion}/Inter-${portVersion}.zip"
SOURCE_DIR=""
CHECKSUM_SHA256="ff970a5d4561a04f102a7cb781adbd6ac4e9b6c460914c7a101f15acb7f7d1a4"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
inter = $portVersion
"
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp extras/ttf/* ${FONTDIR}/
}