x11-misc/xmonad-log-applet: Use newer eapi

Package-Manager: portage-2.3.0
This commit is contained in:
Pacho Ramos
2016-09-18 12:09:53 +02:00
parent 3a1ca4482d
commit 06f5bb859f

View 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}"
}