Skip to content

Commit

Permalink
font-inter: update to 4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
oreo639 committed Jul 18, 2024
1 parent 745b597 commit be2e861
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions srcpkgs/font-inter-variable
21 changes: 15 additions & 6 deletions srcpkgs/font-inter/template
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit be2e861

Please sign in to comment.