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

index f0040e33c07dd694ff695322e826039a3b1424ad..f9378906ce61ea9ff699275722bbcd8a7103fa3b 100644 (file)
@@ -1,28 +1,24 @@
-# 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
 
 MY_P="${P/-/_}.orig"
 
 DESCRIPTION="Fontset for KON2"
-SRC_URI="mirror://debian/dists/potato/main/source/utils/${MY_P}.tar.gz"
 # There seems to be no real homepage for this package
-HOMEPAGE="http://packages.debian.org/stable/utils/konfont"
+HOMEPAGE="https://packages.debian.org/stable/utils/konfont"
+SRC_URI="mirror://debian/dists/potato/main/source/utils/${MY_P}.tar.gz"
 
 LICENSE="public-domain"
 SLOT=0
 KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
-IUSE=""
-
-DEPEND=""
-
-S="${WORKDIR}/${MY_P/_/-}/fonts"
-
 # Only installs fonts
 RESTRICT="strip binchecks"
 
-src_install(){
+S="${WORKDIR}/${MY_P/_/-}/fonts"
+
+src_install() {
        insinto /usr/share/fonts
-       doins pubfont.*.gz || die
+       doins pubfont.*.gz
 }