summaryrefslogtreecommitdiff
blob: 232a9909555e05bf9c8a914c4e24da06572e303e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

inherit font multiprocessing

DESCRIPTION="Open source coding font"
HOMEPAGE="https://larsenwork.com/monoid/ https://github.com/larsenwork/monoid"
SRC_URI="https://github.com/larsenwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="binchecks strip"

DEPEND="media-gfx/fontforge[python]"
RDEPEND=""

FONT_SUFFIX="ttf"
FONT_S="${S}/_release"
DOCS="Readme.md"

src_compile() {
	local NJOBS=$(makeopts_jobs)
	for x in Source/*.sfdir; do
		Scripts/build.py ${NJOBS} ${NJOBS} $x
	done
}