diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild')
-rw-r--r-- | media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 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 new file mode 100644 index 000000000000..21e0adcef904 --- /dev/null +++ b/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +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" + +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" + +src_prepare() { + sed -i -e "s|$range=shift(ARGV);|$range=shift(@ARGV);|g" \ + bdfmerge.pl || die +} + +src_compile() { + emake || die + gzip -9 wqy-unibit.pcf || die +} |