Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/
Date: Mon, 01 Apr 2019 16:17:11
Message-Id: 1554135361.0a72aedbcded138ae50270490f71c54b0d8cc8d2.polynomial-c@gentoo
1 commit: 0a72aedbcded138ae50270490f71c54b0d8cc8d2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 1 16:16:01 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 1 16:16:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a72aedb
7
8 app-misc/tmux: Fix to handle _rc releases as well.
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-misc/tmux/tmux-9999.ebuild | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
17 index 9c772830fdd..4615e5f5979 100644
18 --- a/app-misc/tmux/tmux-9999.ebuild
19 +++ b/app-misc/tmux/tmux-9999.ebuild
20 @@ -12,7 +12,8 @@ if [[ "${PV}" == 9999 ]] ; then
21 SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b"
22 EGIT_REPO_URI="https://github.com/tmux/tmux.git"
23 else
24 - SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P}.tar.gz"
25 + SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P/_/-}.tar.gz"
26 + [[ "${PV}" == *_rc* ]] || \
27 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
28 S="${WORKDIR}/${P/_/-}"
29 fi