You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/media-fonts/xo-fonts/xo-fonts-1.1.ebuild

36 lines
714 B

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Free XO cyrillic fonts from MyOffice"
HOMEPAGE="https://myoffice.ru/products/fonts/"
SRC_URI="https://myoffice.ru/files/fonts/MyOffice_XO_Fonts_${PV}.zip"
LICENSE="open-xo-fonts"
SLOT="0"
KEYWORDS="amd64 x86"
BDEPEND="app-arch/unzip"
S="${WORKDIR}"
FONT_CONF=( "${FILESDIR}/60-xo-fonts.conf" )
src_install() {
insinto /usr/share/fonts/${PN}
local f
for f in Caliburn Courser Oriel Tahion Thames ; do
doins "XO_${f}/XO_${f}/TTF/"*.ttf
done
for f in Symbol SymbolM Trebizond Verbena Windy ; do
doins "XO_${f}/"*.ttf
done
font_xfont_config
font_fontconfig
}