x11-misc/xmonad-log-applet: Use newer eapi
authorPacho Ramos <pacho@gentoo.org>
Sun, 18 Sep 2016 10:09:53 +0000 (12:09 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 18 Sep 2016 11:01:11 +0000 (13:01 +0200)
Package-Manager: portage-2.3.0

x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild

index 89b75cd759d504c93649618aae8f117c26727a1a..181ff5f2d939c86d647b717c06013a0ab4f57dec 100644 (file)
@@ -1,9 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
-
+EAPI=6
 inherit autotools gnome2
 
 DESCRIPTION="Gnome and XFCE applet for displaying XMonad log"
@@ -28,19 +27,21 @@ DEPEND="${RDEPEND}"
 
 src_prepare() {
        eautoreconf
+       gnome2_src_prepare
 }
 
 src_configure() {
-       econf --sysconfdir=/etc --with-panel=xfce4
+       gnome2_src_configure --sysconfdir=/etc --with-panel=xfce4
 }
 
 src_install() {
-       emake DESTDIR="${D}" install
+       gnome2_src_install
        dodoc AUTHORS.md README.md
        dodoc "${FILESDIR}"/xmonad.hs
 }
 
 pkg_postinst() {
+       gnome2_pkg_postinst
        elog "Remember to update your xmonad.hs accordingly"
        elog "a sample xmonad.hs is provided in /usr/share/doc/${PF}"
 }