This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/media-fonts/source-serif/source-serif-3.001-r1.ebuild
tastytea fc853d2ce5
media-fonts/source-serif: set FONT_PN
Signed-off-by: tastytea <tastytea@tastytea.de>
2022-09-10 07:09:19 +02:00

33 lines
718 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
FONT_PN=${PN}-pro
inherit font
DESCRIPTION="Serif font family for user interface environments"
HOMEPAGE="https://adobe-fonts.github.io/source-serif/"
SRC_URI="https://github.com/adobe-fonts/source-serif/archive/${PV}R.tar.gz -> source-serif-${PV}.tar.gz"
S="${WORKDIR}/${P}R"
LICENSE="OFL-1.1"
SLOT="pro"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
RESTRICT="binchecks strip"
RDEPEND="
media-libs/fontconfig
!media-fonts/source-pro
"
FONT_CONF=( "${FILESDIR}"/63-${PN}-pro.conf )
FONT_SUFFIX="otf"
src_prepare() {
default
mv OTF/*.otf . || die
}