commit:     482e36ac9f0a2b3d6f588d960d08c07fa0d8101e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 20:16:10 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 20:16:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482e36ac

net-print/cups-windows: Port to EAPI 7

Closes: https://bugs.gentoo.org/742164
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-print/cups-windows/cups-windows-6.0-r1.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-print/cups-windows/cups-windows-6.0-r1.ebuild 
b/net-print/cups-windows/cups-windows-6.0-r1.ebuild
index de0af8c1754..1fc2f1b0969 100644
--- a/net-print/cups-windows/cups-windows-6.0-r1.ebuild
+++ b/net-print/cups-windows/cups-windows-6.0-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 DESCRIPTION="CUPS PostScript Driver for Windows"
 HOMEPAGE="https://www.cups.org/";
@@ -10,14 +10,15 @@ SRC_URI="mirror://gentoo/${P}-source.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
-IUSE=""
 
 RDEPEND=">=net-print/cups-1.2"
 DEPEND="${RDEPEND}"
 
 src_install() {
-       emake install BUILDROOT="${D}"
+       emake BUILDROOT="${D}" install
        dodoc README.txt
+
        einfo "Copying missing cups6.ppd file"
-       cp "${S}/i386/cups6.ppd" "${ED}/usr/share/cups/drivers/"
+       insinto /usr/share/cups/drivers
+       doins i386/cups6.ppd
 }

Reply via email to