media-fonts/inter - 4.0 (luke-jr)

Search

Install

Install this version:

emerge -a =media-fonts/inter-4.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-fonts/inter-4.0

Or alternatively:

emerge --autounmask-write -a =media-fonts/inter-4.0

Package Information

Description:
The Inter font family
Homepage:
https://rsms.me/inter/
License:
OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
4.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Kirixetamine <revelation@krxt.dev>
# Distributed under the terms of the ISC License

EAPI=8

inherit font

DESCRIPTION="The Inter font family"
HOMEPAGE="https://rsms.me/inter/"

# Replace underscore with hyphen
# Then replace beta20230713 to beta9h
#PV="${PV/\_/\-}"
#MY_PV="${PV/20230713/9h}"

SRC_URI="https://github.com/rsms/inter/releases/download/v${PV}/Inter-${PV}.zip -> ${P}.zip"
KEYWORDS="~amd64"
S="${WORKDIR}"

LICENSE="OFL-1.1"
SLOT="0"

BDEPEND="
	app-arch/unzip
"

src_install() {
	insinto /usr/share/fonts/Inter
	local font="InterVariable"
	doins ${font}.ttf
	doins ${font}-Italic.ttf
	einstalldocs
}

Inherited Eclasses

Dependencies

BDEPEND

	app-arch/unzip

Manifest for 4.0

Type File Size Source URLs
DIST inter-4.0.zip 27885132 bytes https://github.com/rsms/inter/releases/download/v4.0/Inter-4.0.zip