summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-04-01 18:16:01 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-04-01 18:16:01 +0200
commit0a72aedbcded138ae50270490f71c54b0d8cc8d2 (patch)
treeeb2b0c49acae3f72c8bb0e652cbe6ae1831d61a6 /app-misc/tmux
parentsys-apps/smartmontools: Revbump to install shipped systemd unit file (diff)
downloadgentoo-0a72aedbcded138ae50270490f71c54b0d8cc8d2.tar.gz
gentoo-0a72aedbcded138ae50270490f71c54b0d8cc8d2.tar.bz2
gentoo-0a72aedbcded138ae50270490f71c54b0d8cc8d2.zip
app-misc/tmux: Fix to handle _rc releases as well.
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc/tmux')
-rw-r--r--app-misc/tmux/tmux-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
index 9c772830fdd0..4615e5f5979c 100644
--- a/app-misc/tmux/tmux-9999.ebuild
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -12,7 +12,8 @@ if [[ "${PV}" == 9999 ]] ; then
SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b"
EGIT_REPO_URI="https://github.com/tmux/tmux.git"
else
- SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P}.tar.gz"
+ SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P/_/-}.tar.gz"
+ [[ "${PV}" == *_rc* ]] || \
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"
S="${WORKDIR}/${P/_/-}"
fi