public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/baekmuk-fonts/
Date: Tue, 12 Dec 2017 15:00:52 +0000 (UTC)	[thread overview]
Message-ID: <1513090843.af630e2e0b78588794c9d05c5443946e5f041c6c.hattya@gentoo> (raw)

commit:     af630e2e0b78588794c9d05c5443946e5f041c6c
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 12 14:30:56 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 15:00:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af630e2e

media-fonts/baekmuk-fonts: update to EAPI 6

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 .../baekmuk-fonts/baekmuk-fonts-2.2-r2.ebuild      | 24 ++++++++++------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/media-fonts/baekmuk-fonts/baekmuk-fonts-2.2-r2.ebuild b/media-fonts/baekmuk-fonts/baekmuk-fonts-2.2-r2.ebuild
index 2763f1db1e3..5d4babf322d 100644
--- a/media-fonts/baekmuk-fonts/baekmuk-fonts-2.2-r2.ebuild
+++ b/media-fonts/baekmuk-fonts/baekmuk-fonts-2.2-r2.ebuild
@@ -1,33 +1,32 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI="6"
+
 inherit font font-ebdftopcf
 
-TTF_P="${P/fonts/ttf}"
 BDF_P="${P/fonts/bdf}"
+TTF_P="${P/fonts/ttf}"
 UNI_P="20020418"
 
 DESCRIPTION="Korean Baekmuk Font"
 HOMEPAGE="http://kldp.net/projects/baekmuk/"
-SRC_URI="http://kldp.net/download.php/1429/${TTF_P}.tar.gz
-	http://kldp.net/download.php/1428/${BDF_P}.tar.gz
+SRC_URI="http://kldp.net/download.php/1428/${BDF_P}.tar.gz
+	http://kldp.net/download.php/1429/${TTF_P}.tar.gz
 	unicode? ( http://chem.skku.ac.kr/~wkpark/baekmuk/iso10646/${UNI_P}.tar.bz2 )"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="unicode"
+RESTRICT="binchecks strip"
 
-S=${WORKDIR}
-
-# Only installs fonts
-RESTRICT="strip binchecks"
+S="${WORKDIR}"
 
 src_unpack() {
 	unpack ${BDF_P}.tar.gz ${TTF_P}.tar.gz
-
-	if use unicode ; then
-		cd "${WORKDIR}/${BDF_P}/bdf"
+	if use unicode; then
+		cd "${WORKDIR}"/${BDF_P}/bdf
 		unpack ${UNI_P}.tar.bz2
 	fi
 }
@@ -38,7 +37,6 @@ src_compile() {
 }
 
 src_install () {
-	FONT_S="${S}/${TTF_P}/ttf" FONT_SUFFIX="ttf" font_src_install
-	use X && FONT_S="${S}/${BDF_P}/bdf" FONT_SUFFIX="pcf.gz" font_src_install
-	use X || FONT_S="${S}/${BDF_P}/bdf" FONT_SUFFIX="bdf" font_src_install
+	FONT_S="${S}"/${TTF_P}/ttf FONT_SUFFIX="ttf" font_src_install
+	FONT_S="${S}"/${BDF_P}/bdf font_src_install
 }


             reply	other threads:[~2017-12-12 15:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 15:00 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-17 12:48 [gentoo-commits] repo/gentoo:master commit in: media-fonts/baekmuk-fonts/ WANG Xuerui
2017-12-12 15:00 Akinori Hattori
2017-12-12 15:00 Akinori Hattori
2017-01-29 18:56 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513090843.af630e2e0b78588794c9d05c5443946e5f041c6c.hattya@gentoo \
    --to=hattya@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox