diff options
Diffstat (limited to 'media-fonts/sil-gentium')
-rw-r--r-- | media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild b/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild index a189ebc10576..fb7bf477d703 100644 --- a/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild +++ b/media-fonts/sil-gentium/sil-gentium-5.000-r1.ebuild @@ -1,36 +1,34 @@ # Copyright 2004-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit font MY_PN="GentiumPlus" MY_P="${MY_PN}-${PV}" DESCRIPTION="Gentium Plus unicode font for Latin and Greek languages" -HOMEPAGE="http://scripts.sil.org/gentium" -SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MY_P}.zip&filename=${MY_P}.zip -> ${P}.zip - compact? ( http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=GentiumPlusCompact-${PV}b.zip&filename=GentiumPlusCompact-${PV}.zip -> ${MY_PN}Compact-${PV}.zip )" +HOMEPAGE="https://software.sil.org/gentium/" +SRC_URI="https://software.sil.org/downloads/r/gentium/${MY_P}.zip -> ${P}.zip + compact? ( https://software.sil.org/downloads/r/gentium/${MY_PN}Compact-${PV}.zip )" +S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="OFL-1.1" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~ppc-macos ~x64-macos" IUSE="compact doc" -DEPEND="app-arch/unzip" -RDEPEND="" +BDEPEND="app-arch/unzip" -DOCS="GENTIUM-FAQ.txt OFL-FAQ.txt" -FONT_SUFFIX="ttf" +DOCS=( GENTIUM-FAQ.txt OFL-FAQ.txt ) -S="${WORKDIR}/${MY_PN}-${PV}" -FONT_S="${S}" +FONT_SUFFIX="ttf" src_unpack() { unpack ${A} if use compact; then - mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} "${FONT_S}" || die + mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} "${S}" || die fi } |