diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-21 11:16:55 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-21 20:05:38 +0100 |
commit | bc2f75f50eea33075cc903a26bf6457442b98e67 (patch) | |
tree | aefafcc7f9d3fa6eb75f30e21db55d953f681c5e /media-fonts/wqy-unibit | |
parent | media-fonts/wqy-microhei: EAPI-7 bump, fix HOMEPAGE, DESCRIPTION (diff) | |
download | gentoo-bc2f75f50eea33075cc903a26bf6457442b98e67.tar.gz gentoo-bc2f75f50eea33075cc903a26bf6457442b98e67.tar.bz2 gentoo-bc2f75f50eea33075cc903a26bf6457442b98e67.zip |
media-fonts/wqy-unibit: EAPI-7 bump, fix HOMEPAGE
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-fonts/wqy-unibit')
-rw-r--r-- | media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild b/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild index f99e97246832..1fbd789e583f 100644 --- a/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild +++ b/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild @@ -1,34 +1,32 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 + inherit font -MY_P="${PN}-bdf-${PV/_p/-}" DESCRIPTION="WenQuanYi Unibit CJK font" -HOMEPAGE="http://wenq.org/enindex.cgi" -SRC_URI="mirror://sourceforge/wqy/${MY_P}.tar.gz" +HOMEPAGE="http://wenq.org/wqy2/index.cgi https://sourceforge.net/projects/wqy/" +SRC_URI="mirror://sourceforge/wqy/${PN}-bdf-${PV/_p/-}.tar.gz" +S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm x86" IUSE="" -DEPEND="media-gfx/ebdftopcf - sys-apps/sed" -RDEPEND="" - -S="${WORKDIR}/${PN}" -FONT_S="${S}" -FONT_SUFFIX="pcf.gz" -DOCS="AUTHORS ChangeLog README" - # Only installs fonts RESTRICT="strip binchecks" +BDEPEND="media-gfx/ebdftopcf" + +DOCS=( AUTHORS ChangeLog README ) + +FONT_SUFFIX="pcf.gz" + src_prepare() { - sed -i -e "s|$range=shift(ARGV);|$range=shift(@ARGV);|g" \ - bdfmerge.pl || die + default + sed -i -e "s|$range=shift(ARGV);|$range=shift(@ARGV);|g" bdfmerge.pl || die } src_compile() { |