aboutsummaryrefslogtreecommitdiffstats
path: root/main/tmux
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-28 19:47:17 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-09-29 10:15:24 +0000
commit1fe89dacc7db40811a8df7de03dfeb8376ba7307 (patch)
treec326b6f1f89e6f4338604e40b3f192c4c556317c /main/tmux
parentf4e5e541cd37f46638a49a9027b6e072f74f78c3 (diff)
downloadaports-1fe89dacc7db40811a8df7de03dfeb8376ba7307.tar.bz2
aports-1fe89dacc7db40811a8df7de03dfeb8376ba7307.tar.xz
main/tmux: bash-completion install_if fix
Diffstat (limited to 'main/tmux')
-rw-r--r--main/tmux/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD
index fb7254f3a0..09348d5f36 100644
--- a/main/tmux/APKBUILD
+++ b/main/tmux/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tmux
pkgver=2.0
-pkgrel=2
+pkgrel=3
pkgdesc="Tool to control multiple terminals from a single terminal"
url="http://tmux.sourceforge.net/"
arch="all"
@@ -13,7 +13,7 @@ install=
subpackages="
$pkgname-doc
$pkgname-vim:vim
- $pkgname-bash-completion:completion"
+ $pkgname-bash-completion:bashcomp"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -52,10 +52,10 @@ vim() {
"$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
}
-completion() {
+bashcomp() {
depends=""
- pkgdesc="Bash completion script for $pkgname"
- install_if="bash $pkgname=$pkgver-r$pkgrel"
+ pkgdesc="Bash completion for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$srcdir"/tmux-$pkgver/examples/bash_completion_tmux.sh \