media-fonts/unfonts: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 11:19:59 +0000 (13:19 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 11:19:59 +0000 (13:19 +0200)
Bug: https://bugs.gentoo.org/697296
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
media-fonts/unfonts/unfonts-1.0.2_pre080608-r1.ebuild

index dc37018168644e7d2a00a76bf0c89719ce437cfb..965747716b035f6b543369bf0ecadec96cade057 100644 (file)
@@ -1,13 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit font
 
 MY_PN="un-fonts"
-MY_PV=${PV/_pre/-}
-S=${WORKDIR}/${MY_PN}
+MY_PV="${PV/_pre/-}"
 
 DESCRIPTION="Korean Un fonts collection"
 HOMEPAGE="http://kldp.net/projects/unfonts/"
@@ -17,9 +16,10 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86"
 IUSE=""
-
-FONT_SUFFIX="ttf"
-FONT_S=${S}
-
 # Only installs fonts
 RESTRICT="strip binchecks"
+
+S="${WORKDIR}/${MY_PN}"
+
+FONT_SUFFIX="ttf"
+FONT_S="${S}"