mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/xmonad-log-applet: Use newer eapi
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user