font-inter: update to 4.0.

This commit is contained in:
oreo639 2024-07-15 22:47:06 -07:00 committed by oreo639
parent 745b597cb8
commit be2e8615db
2 changed files with 16 additions and 6 deletions

1
srcpkgs/font-inter-variable Symbolic link
View File

@ -0,0 +1 @@
font-inter

View File

@ -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 <linkert@onan.in>"
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
}
}