media-fonts/konfont: Port to EAPI 7

Bug: https://bugs.gentoo.org/697292
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2019-10-19 22:48:53 +02:00
parent 0c26901c34
commit b3ac16957d
+8 -12
View 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
}