diff options
author | Johannes Huber <johu@gentoo.org> | 2018-05-11 15:17:23 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2018-05-11 15:19:12 +0200 |
commit | 2dac19f3fd799a9ef951beac422af2d54e570058 (patch) | |
tree | 2f27c8a6b072bcc00e7ec1a6d860756ab13e0487 /media-fonts | |
parent | media-fonts/nanumfont: Indentation (diff) | |
download | gentoo-2dac19f3fd799a9ef951beac422af2d54e570058.tar.gz gentoo-2dac19f3fd799a9ef951beac422af2d54e570058.tar.bz2 gentoo-2dac19f3fd799a9ef951beac422af2d54e570058.zip |
media-fonts/nanumfont: Revision bump 2.0-r2
EAPI 6
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/nanumfont/nanumfont-2.0-r2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-fonts/nanumfont/nanumfont-2.0-r2.ebuild b/media-fonts/nanumfont/nanumfont-2.0-r2.ebuild new file mode 100644 index 000000000000..9e1a4b35a724 --- /dev/null +++ b/media-fonts/nanumfont/nanumfont-2.0-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit font + +MY_P="NanumGothicCoding-${PV}" +DESCRIPTION="Korean monospace font distributed by NHN" +HOMEPAGE="http://dev.naver.com/projects/nanumfont" +SRC_URI="http://dev.naver.com/frs/download.php/441/${MY_P}.zip" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Only installs fonts +RESTRICT="strip binchecks" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S="${WORKDIR}" +FONT_S="${S}" + +FONT_SUFFIX="ttf" + +src_prepare() { + default + # Rename names in cp949 encoding, bug #322041 + mkdir recode || die + mv *-Bold.ttf recode/${PN}-Bold.ttf || die + mv *.ttf recode/${PN}.ttf || die + mv recode/* . || die +} |