media-fonts/cronyx-fonts: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 20:48:37 +0000 (22:48 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 19 Oct 2019 20:48:37 +0000 (22:48 +0200)
Bug: https://bugs.gentoo.org/696312
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
media-fonts/cronyx-fonts/cronyx-fonts-2.3.8.ebuild

index 2efca6e3f0b04324337ed5f62e666cf4b53e71fc..c07950ee68d13ba7e127a5b396de6695e1eb345e 100644 (file)
@@ -1,25 +1,27 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-FONT_PN="cronyx"
-inherit eutils font font-ebdftopcf
+EAPI=7
+
+inherit font font-ebdftopcf
 
 MY_P="xfonts-cronyx_${PV}"
+
 DESCRIPTION="Cronyx Cyrillic bitmap fonts for X"
-HOMEPAGE="http://packages.debian.org/source/sid/xfonts-cronyx"
-SRC_URI="mirror://debian/pool/main/x/xfonts-cronyx/${MY_P}.orig.tar.gz
+HOMEPAGE="https://packages.debian.org/source/sid/xfonts-cronyx"
+SRC_URI="
+       mirror://debian/pool/main/x/xfonts-cronyx/${MY_P}.orig.tar.gz
        mirror://debian/pool/main/x/xfonts-cronyx/${MY_P}-6.diff.gz"
 
 LICENSE="freedist"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ppc s390 ~sh sparc x86"
-IUSE=""
+KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86"
 
 S="${WORKDIR}/${MY_P//_/-}.orig"
-FONT_S="${S}/75dpi ${S}/100dpi ${S}/misc"
-DOCS="Changelog.en xcyr.README.* xrus.README"
 
-src_prepare() {
-       epatch "${WORKDIR}"/${MY_P}-6.diff
-}
+PATCHES=( "${WORKDIR}"/${MY_P}-6.diff )
+
+DOCS="Changelog.en xcyr.README.* xrus.README"
+FONT_PN="cronyx"
+FONT_S="${S}/75dpi ${S}/100dpi ${S}/misc"
+FONTDIR="/usr/share/fonts/cronyx"