diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xcape/xcape-1.2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xcape/xcape-1.2.ebuild')
-rw-r--r-- | x11-misc/xcape/xcape-1.2.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-misc/xcape/xcape-1.2.ebuild b/x11-misc/xcape/xcape-1.2.ebuild new file mode 100644 index 000000000000..48e5ae1a3290 --- /dev/null +++ b/x11-misc/xcape/xcape-1.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Utility to make modifier keys send custom key events when pressed on their own" +HOMEPAGE="https://github.com/alols/xcape" +SRC_URI="https://github.com/alols/xcape/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="x11-libs/libX11 + x11-libs/libXtst" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + + # Fix path to man and to pkg-config + sed -i \ + -e '/MANDIR/s:local:share:' \ + -e 's/pkg-config/${PKG_CONFIG}/' \ + Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +} |