diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
commit | f70601e0934acd62f6c5d06c5ede4cc607179514 (patch) | |
tree | 0b337390375de04b950fc4b45edc0f895a4701a4 /x11-wm/bspwm/bspwm-0.9.5.ebuild | |
parent | b2be182d49eea46686b5cf2680d457df61e89dc4 (diff) |
gentoo resync : 07.07.2018
Diffstat (limited to 'x11-wm/bspwm/bspwm-0.9.5.ebuild')
-rw-r--r-- | x11-wm/bspwm/bspwm-0.9.5.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/x11-wm/bspwm/bspwm-0.9.5.ebuild b/x11-wm/bspwm/bspwm-0.9.5.ebuild new file mode 100644 index 000000000000..db690abde824 --- /dev/null +++ b/x11-wm/bspwm/bspwm-0.9.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="Tiling window manager based on binary space partitioning" +HOMEPAGE="https://github.com/baskerville/bspwm/" +SRC_URI="https://github.com/baskerville/bspwm/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-wm +" +RDEPEND="${DEPEND} + x11-misc/sxhkd +" + +src_compile() { + emake PREFIX=/usr CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc doc/{CONTRIBUTING,MISC,TODO}.md + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} + + insinto /usr/share/xsessions + doins contrib/freedesktop/bspwm.desktop + + insinto /etc/xdg/sxhkd + doins examples/sxhkdrc + + if use examples ; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |