From be2e8615db4ecb3c4d3b1d4b96977bbfea73d9b5 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Mon, 15 Jul 2024 22:47:06 -0700 Subject: [PATCH] font-inter: update to 4.0. --- srcpkgs/font-inter-variable | 1 + srcpkgs/font-inter/template | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 120000 srcpkgs/font-inter-variable diff --git a/srcpkgs/font-inter-variable b/srcpkgs/font-inter-variable new file mode 120000 index 00000000000..3c2ae8389d6 --- /dev/null +++ b/srcpkgs/font-inter-variable @@ -0,0 +1 @@ +font-inter \ No newline at end of file diff --git a/srcpkgs/font-inter/template b/srcpkgs/font-inter/template index 1bce59cfb30..6e7f7e61ef6 100644 --- a/srcpkgs/font-inter/template +++ b/srcpkgs/font-inter/template @@ -1,19 +1,28 @@ # Template file for 'font-inter' pkgname=font-inter -version=3.19 +version=4.0 revision=1 depends="font-util" -short_desc="Variable typeface carefully crafted & designed for computer screens" +short_desc="Typeface carefully crafted & designed for computer screens" maintainer="Robin Lundgren " license="OFL-1.1" homepage="https://rsms.me/inter/" distfiles="https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip" -checksum=150ab6230d1762a57bebf35dfc04d606ff91598a31d785f7f100356ecdcc0032 +checksum=ff970a5d4561a04f102a7cb781adbd6ac4e9b6c460914c7a101f15acb7f7d1a4 -font_dirs="/usr/share/fonts/OTF/inter" +font_dirs="/usr/share/fonts/TTF/inter" do_install() { - vmkdir usr/share/fonts/OTF/inter - vcopy *Desktop/*.otf usr/share/fonts/OTF/inter + vmkdir usr/share/fonts/TTF/inter + vcopy "extras/ttf/*.ttf" usr/share/fonts/TTF/inter vlicense LICENSE.txt LICENSE.md } + +font-inter-variable_package() { + short_desc+=" - variable" + pkg_install() { + vmkdir usr/share/fonts/TTF/inter + vcopy "InterVariable*.ttf" usr/share/fonts/TTF/inter + vlicense LICENSE.txt LICENSE.md + } +}