Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/bspwm/
Date: Tue, 02 Jul 2019 05:35:15
Message-Id: 1562045633.cdbe01c0bedc0888cbbeb462231e311262c70a34.radhermit@gentoo
1 commit: cdbe01c0bedc0888cbbeb462231e311262c70a34
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 2 05:33:53 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 2 05:33:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdbe01c0
7
8 x11-wm/bspwm: fix docs install
9
10 Closes: https://bugs.gentoo.org/689052
11
12 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
13
14 x11-wm/bspwm/bspwm-0.9.7-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++++++
15 1 file changed, 45 insertions(+)
16
17 diff --git a/x11-wm/bspwm/bspwm-0.9.7-r1.ebuild b/x11-wm/bspwm/bspwm-0.9.7-r1.ebuild
18 new file mode 100644
19 index 00000000000..484d61f26f2
20 --- /dev/null
21 +++ b/x11-wm/bspwm/bspwm-0.9.7-r1.ebuild
22 @@ -0,0 +1,45 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="Tiling window manager based on binary space partitioning"
30 +HOMEPAGE="https://github.com/baskerville/bspwm/"
31 +SRC_URI="https://github.com/baskerville/bspwm/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +LICENSE="BSD-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE="examples"
37 +
38 +DEPEND="
39 + x11-libs/libxcb
40 + x11-libs/xcb-util
41 + x11-libs/xcb-util-wm
42 +"
43 +RDEPEND="${DEPEND}
44 + x11-misc/sxhkd
45 +"
46 +
47 +src_compile() {
48 + emake PREFIX=/usr CC="$(tc-getCC)"
49 +}
50 +
51 +src_install() {
52 + emake DESTDIR="${D}" PREFIX=/usr DOCPREFIX="/usr/share/doc/${PF}" install
53 +
54 + exeinto /etc/X11/Sessions
55 + newexe "${FILESDIR}"/${PN}-session ${PN}
56 +
57 + insinto /usr/share/xsessions
58 + doins contrib/freedesktop/bspwm.desktop
59 +
60 + insinto /etc/xdg/sxhkd
61 + doins examples/sxhkdrc
62 +
63 + if use examples ; then
64 + dodoc -r examples
65 + docompress -x /usr/share/doc/${PF}/examples
66 + fi
67 +}