summaryrefslogtreecommitdiff
path: root/media-fonts/piazzolla/piazzolla-2.005.ebuild
blob: c8ce4515c63d3f69941eae5338d8b8a5488420b2 (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
31
32
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="Piazzolla"
inherit font

DESCRIPTION="Piazzolla font family"
HOMEPAGE="https://github.com/huertatipografica/piazzolla"
SRC_URI="
	https://github.com/huertatipografica/${PN}/releases/download/v${PV}/${MY_PN}.zip -> ${P}.zip
	https://github.com/huertatipografica/${PN}/releases/download/v${PV}/${MY_PN}SC.zip -> ${PN}-sc-${PV}.zip
	"

S="${WORKDIR}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"

BDEPEND="app-arch/unzip"

FONT_S=(
	"${S}/${FONT_PN}/static/otf"
	"${S}/${FONT_PN}SC/static/otf"
)
FONT_SUFFIX="otf"

font_src_install() {
	insinto ${FONTDIR}
	doins ${MY_PN}/static/otf/*.otf ${MY_PN}SC/static/otf/*.otf
}