x11-wm/aewm++: update to EAPI6
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 31 Mar 2018 06:31:01 +0000 (08:31 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 4 Apr 2018 23:39:52 +0000 (01:39 +0200)
Closes: https://github.com/gentoo/gentoo/pull/7731

x11-wm/aewm++/aewm++-1.1.5-r2.ebuild

index 843c906b41a9fdedaa198667945c41dd9f8a2496..601677e367b8870a5c9c4be60f679e5765ba093f 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="A window manager with more modern features than aewm"
 HOMEPAGE="https://github.com/frankhale/aewmpp"
@@ -19,16 +19,11 @@ DEPEND="${RDEPEND}
        x11-proto/xextproto
        x11-proto/xproto"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-gcc43.patch \
-               "${FILESDIR}"/${P}-makefile.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-gcc43.patch
+       "${FILESDIR}"/${P}-makefile.patch
+)
 
 src_compile() {
        emake CXX="$(tc-getCXX)"
 }
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc ChangeLog README
-}