media-fonts/monaspace - 1.200 (guru)

Search

Install

Install this version:

emerge -a =media-fonts/monaspace-1.200

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

autounmask =media-fonts/monaspace-1.200

Or alternatively:

emerge --autounmask-write -a =media-fonts/monaspace-1.200

Package Information

Description:
A free and open-source typeface for developers
Homepage:
https://github.com/githubnext/monaspace
License:
OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
1.200 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit font

DESCRIPTION="A free and open-source typeface for developers"
HOMEPAGE="https://github.com/githubnext/monaspace"
SRC_URI="https://github.com/githubnext/monaspace/releases/download/v${PV}/monaspace-v${PV}.zip"

S="${WORKDIR}/monaspace-v${PV}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64"

FONT_S="${S}/fonts/total"
FONT_SUFFIX=""
IUSE="frozen +otf variable"
REQUIRED_USE="|| ( frozen otf variable )"

BDEPEND="app-arch/unzip"

src_prepare() {
	default

	mkdir "${S}/fonts/total" || die

	if use frozen ; then
		mv "${S}/fonts/frozen/"* "${S}/fonts/total" || die
		FONT_SUFFIX="${FONT_SUFFIX} ttf"
	fi

	if use otf ; then
		mv "${S}/fonts/otf/"* "${S}/fonts/total" || die
		FONT_SUFFIX="${FONT_SUFFIX} otf"
	fi

	if use variable ; then
		mv "${S}/fonts/variable/"* "${S}/fonts/total" || die
		FONT_SUFFIX="${FONT_SUFFIX} ttf"
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-fonts/monaspace | euse -E <flag> -p media-fonts/monaspace | euse -D <flag> -p media-fonts/monaspace

Global/Standard Flags

otf
Default: Enabled (+)

Inherited Eclasses

Dependencies

BDEPEND

app-arch/unzip

Manifest for 1.200

Type File Size Source URLs
DIST monaspace-v1.200.zip 994146021 bytes https://github.com/githubnext/monaspace/releases/download/v1.200/monaspace-v1.200.zip