summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 17:30:48 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:05:55 +0100
commit9844e1da4a96724af6133d8a24b2ac43d65880e6 (patch)
tree4b3d3278fc71da7fc23fa11496f0d90bd509b54d /media-fonts/sil-charis
parentmedia-fonts/sil-arabicfonts: 3.000 version bump, EAPI-7, new HOMEPAGE (diff)
downloadgentoo-9844e1da4a96724af6133d8a24b2ac43d65880e6.tar.gz
gentoo-9844e1da4a96724af6133d8a24b2ac43d65880e6.tar.bz2
gentoo-9844e1da4a96724af6133d8a24b2ac43d65880e6.zip
media-fonts/sil-charis: 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-charis')
-rw-r--r--media-fonts/sil-charis/sil-charis-5.000-r1.ebuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild b/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild
index 0c6150e6577d..da202e039d6c 100644
--- a/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild
+++ b/media-fonts/sil-charis/sil-charis-5.000-r1.ebuild
@@ -1,33 +1,31 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit font
+EAPI=7
MY_PN="CharisSIL"
-MY_P="${MY_PN}-${PV}"
+inherit font
DESCRIPTION="Serif typeface for Roman and Cyrillic languages"
-HOMEPAGE="http://scripts.sil.org/CharisSILfont"
-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=CharisSILCompact-${PV}b.zip&filename=CharisSILCompact-${PV}.zip -> ${MY_PN}Compact-${PV}.zip )"
+HOMEPAGE="https://software.sil.org/charis/"
+SRC_URI="https://software.sil.org/downloads/r/charis/${MY_PN}-${PV}.zip -> ${P}.zip
+ compact? ( https://software.sil.org/downloads/r/charis/${MY_PN}Compact-${PV}.zip )"
+S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-macos"
IUSE="compact"
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
+
+# DOCS=( OFL-FAQ.txt documentation/* )
-S="${WORKDIR}/${MY_PN}-${PV}"
-FONT_S="${S}"
FONT_SUFFIX="ttf"
-DOCS="OFL-FAQ.txt documentation/*"
src_prepare() {
default
if use compact; then
- mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} "${FONT_S}" || die
+ mv "${WORKDIR}"/${MY_PN}Compact-${PV}/*.${FONT_SUFFIX} . || die
fi
}