media-fonts/fgdc-emergency: Bump to EAPI 7
authorMichał Górny <mgorny@gentoo.org>
Sat, 19 Oct 2019 18:50:29 +0000 (20:50 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 19 Oct 2019 18:53:52 +0000 (20:53 +0200)
Bug: https://bugs.gentoo.org/697302
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-fonts/fgdc-emergency/fgdc-emergency-2.20.ebuild

index 96616704936249078aa7784a59e80e192a4f2380..72a40222609490e0ca1a68b77a94b53a8222f3d6 100644 (file)
@@ -1,15 +1,15 @@
-# 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
 
 DESCRIPTION="FGDC Emergency Response Symbology Prototype"
 HOMEPAGE="http://www.fgdc.gov/HSWG/"
 SRC_URI="http://www.fgdc.gov/HSWG/symbol_downloads/ers_v${PV//./}.zip"
-LICENSE="public-domain"
 
+LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -18,18 +18,12 @@ DEPEND="app-arch/unzip"
 RDEPEND=""
 
 S="${WORKDIR}/ersSymbolsVersion0202"
-
+FONT_S="${S}"
 FONT_SUFFIX="ttf"
 
-DOCS="readme.txt"
-
-FONT_S="${S}"
+DOCS=( readme.txt )
 
 src_install(){
-
-       cd "${FONT_S}"
-       cp ersV2sym/*.ttf .
-       cp ersV2txt/*.ttf .
-
+       cp ersV2{sym,txt}/*.ttf . || die
        font_src_install
 }