diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-24 10:19:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-24 10:19:03 +0000 |
commit | b279bbe94522565b8feb19b8e5f377d3ea76f157 (patch) | |
tree | e4790abc54cd850232f7d7de49e371fdfe8976c7 /app-shells/fzy/fzy-0.9-r1.ebuild | |
parent | c5283d322accc6097afec74eab24550829788bab (diff) |
gentoo resync : 24.03.2018
Diffstat (limited to 'app-shells/fzy/fzy-0.9-r1.ebuild')
-rw-r--r-- | app-shells/fzy/fzy-0.9-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-shells/fzy/fzy-0.9-r1.ebuild b/app-shells/fzy/fzy-0.9-r1.ebuild new file mode 100644 index 000000000000..3db8979e1bd9 --- /dev/null +++ b/app-shells/fzy/fzy-0.9-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit savedconfig toolchain-funcs + +DESCRIPTION="Fuzzy text selector (interactive grep) for console" +HOMEPAGE="https://github.com/jhawthorn/fzy" +SRC_URI="https://github.com/jhawthorn/fzy/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/${P}-cflags.patch ) + +src_prepare() { + default + restore_config config.h + + tc-export CC +} + +src_install() { + local DOCS=( ALGORITHM.md CHANGELOG.md README.md ) + + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + exeinto /usr/share/fzy + doexe contrib/fzy-tmux + doexe contrib/fzy-dvtm + einstalldocs + save_config config.h +} |