Commit: bd1df9af4c521136bd42474d96b914d244813cf5 Parent: 329cb9289c038003fc5b4062e7ef230e7fc8e891 Author: opask Date: Tue, 8 Jan 2019 16:51:05 -0700 add x11-misc/xbanish Diffstat:
A | x11-misc/xbanish/xbanish-9999.ebuild | | | 28 | ++++++++++++++++++++++++++++ |
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/x11-misc/xbanish/xbanish-9999.ebuild b/x11-misc/xbanish/xbanish-9999.ebuild @@ -0,0 +1,28 @@ +EAPI=7 +inherit git-r3 + +DESCRIPTION="banish the mouse cursor when typing, show it again when the mouse moves" +HOMEPAGE="https://github.com/jcs/xbanish" +EGIT_REPO_URI="https://github.com/jcs/xbanish.git" + +SLOT="0" +IUSE="static" + +RDEPEND="x11-libs/libX11" + +src_prepare() { + default + + sed -e '/^X11BASE/{s:X11R6:X11:}' \ + -e '/^MANDIR/{s:man:share/man:}' \ + < Makefile > Makefile.new || die + mv Makefile.new Makefile || die + + if uses static; then + export LDFLAGS="${LDFLAGS} -static" + fi +} + +src_install() { + emake DESTDIR="${D}" install +}