summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-02-14 11:06:39 +0200
committerDavid Seifert <soap@gentoo.org>2017-02-14 20:42:10 +0100
commit7aa2549e1e67e965ba211fa9788e40197b688ed4 (patch)
treebcf37586f6f52b165d79a077408f604eb010ce14
parentx11-misc/bbdate: EAPI bump 0 -> 6 (diff)
downloadgentoo-7aa2549e1e67e965ba211fa9788e40197b688ed4.tar.gz
gentoo-7aa2549e1e67e965ba211fa9788e40197b688ed4.tar.bz2
gentoo-7aa2549e1e67e965ba211fa9788e40197b688ed4.zip
x11-misc/bbkeys: EAPI bump 0 -> 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3967
-rw-r--r--x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild (renamed from x11-misc/bbkeys/bbkeys-0.9.1.ebuild)14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11-misc/bbkeys/bbkeys-0.9.1.ebuild b/x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild
index ccd84533b98a..c9f5279d7702 100644
--- a/x11-misc/bbkeys/bbkeys-0.9.1.ebuild
+++ b/x11-misc/bbkeys/bbkeys-0.9.1-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=6
+
DESCRIPTION="Use keyboard shortcuts in the blackbox wm"
HOMEPAGE="http://bbkeys.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -16,10 +18,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_install() {
- emake DESTDIR="${D}" install || die
- rm -rf "${D}"/usr/share/doc
- dodoc AUTHORS BUGS ChangeLog NEWS README || die
+ emake DESTDIR="${D}" install
+ rm -rf "${ED%/}"/usr/share/doc || die
+ einstalldocs
- echo PRELINK_PATH_MASK=/usr/bin/bbkeys > "${T}"/99bbkeys
- doenvd "${T}"/99bbkeys || die
+ echo PRELINK_PATH_MASK=\""${EPREFIX}"/usr/bin/bbkeys\" > "${T}"/99bbkeys || die
+ doenvd "${T}"/99bbkeys
}