-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Hides mouse pointer while not in use"
HOMEPAGE="http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README"
S=${WORKDIR}/${PN}
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-include.patch \
- "${FILESDIR}"/${P}-FocusOut.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-include.patch
+ "${FILESDIR}"/${P}-FocusOut.patch
+)
src_compile() {
emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDOPTIONS="${LDFLAGS}"
src_install () {
dobin unclutter
newman unclutter.man unclutter.1x
- dodoc README
+ einstalldocs
}