diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-21 15:16:22 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-21 20:05:55 +0100 |
commit | 7c20393b922aaa4ef21b9295c89f91a8b3a241c5 (patch) | |
tree | d34e481b3f3d5b9a2900f6d4b62c45eaaa29c29b /media-fonts/sil-gentium | |
parent | media-fonts/sil-doulos: EAPI-7 bump, fix HOMEPAGE, SRC_URI (diff) | |
download | gentoo-7c20393b922aaa4ef21b9295c89f91a8b3a241c5.tar.gz gentoo-7c20393b922aaa4ef21b9295c89f91a8b3a241c5.tar.bz2 gentoo-7c20393b922aaa4ef21b9295c89f91a8b3a241c5.zip |
media-fonts/sil-gentium: EAPI-7 bump, fix HOMEPAGE, SRC_URI
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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 } |