From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6CFB138334 for ; Sun, 23 Sep 2018 23:07:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69DE0E08D4; Sun, 23 Sep 2018 23:07:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F6CFE08D4 for ; Sun, 23 Sep 2018 23:07:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1DF57335C8D for ; Sun, 23 Sep 2018 23:06:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F5FB3DB for ; Sun, 23 Sep 2018 23:06:56 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1537744007.ea1c4fcb124dd83e7c9f6a7d44a133f4bf145a73.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fzy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/fzy/fzy-9999.ebuild X-VCS-Directories: app-shells/fzy/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: ea1c4fcb124dd83e7c9f6a7d44a133f4bf145a73 X-VCS-Branch: master Date: Sun, 23 Sep 2018 23:06:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2c39d02a-54ca-4e3c-a8bd-adbd739e1afa X-Archives-Hash: bdcb92a966e78ae3e3983df60929a612 commit: ea1c4fcb124dd83e7c9f6a7d44a133f4bf145a73 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Sep 23 23:05:23 2018 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Sep 23 23:06:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1c4fcb app-shells/fzy: sync live ebuild Signed-off-by: Georgy Yakovlev gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 app-shells/fzy/fzy-9999.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/app-shells/fzy/fzy-9999.ebuild b/app-shells/fzy/fzy-9999.ebuild index bbf7b6adbe5..ba77064dac0 100644 --- a/app-shells/fzy/fzy-9999.ebuild +++ b/app-shells/fzy/fzy-9999.ebuild @@ -3,13 +3,13 @@ EAPI=6 -inherit savedconfig toolchain-funcs +inherit eutils savedconfig toolchain-funcs if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/jhawthorn/fzy.git" else - SRC_URI="https://github.com/jhawthorn/fzy/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/jhawthorn/${PN}/releases/download/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -31,9 +31,14 @@ src_prepare() { 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 + dobin contrib/fzy-tmux + dobin contrib/fzy-dvtm einstalldocs save_config config.h } + +pkg_postinst() { + savedconfig_pkg_postinst + optfeature "opening search results in dvtm pane with provided ${EPREFIX}/usr/bin/fzy-dvtm" app-misc/dvtm + optfeature "opening search results in tmux pane with provided ${EPREFIX}/usr/bin/fzy-tmux" app-misc/tmux +}