summaryrefslogtreecommitdiff
blob: b3f28ac79d78a5dec565f49293c6a86952db57c0 (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
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit font

DESCRIPTION="Customized version of Source Code Pro"
HOMEPAGE="https://github.com/nathco/Office-Code-Pro"
SRC_URI="https://github.com/nathco/Office-Code-Pro/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"

S="${WORKDIR}/Office-Code-Pro-${PV}"

FONT_SUFFIX="otf"

src_prepare() {
	default

	mv Fonts/*/OTF/*.otf . || die "Failed to move .otf files"
}