diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2013-11-27 12:08:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-27 20:44:22 +0000 |
commit | 7082bd04d87f0c8ab1c55106614ad3dd7a860d17 (patch) | |
tree | bce0b640981a0e4f410a3c17f0dfa11f58e1ff91 /main/tmux/APKBUILD | |
parent | 15b93ea579dcda5fa2ca9b0ca4c1b56575e8313c (diff) | |
download | aports-7082bd04d87f0c8ab1c55106614ad3dd7a860d17.tar.bz2 aports-7082bd04d87f0c8ab1c55106614ad3dd7a860d17.tar.xz |
main/tmux: bash-completion subpackage
Diffstat (limited to 'main/tmux/APKBUILD')
-rw-r--r-- | main/tmux/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD index 881e0cc311..3402a141db 100644 --- a/main/tmux/APKBUILD +++ b/main/tmux/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=tmux pkgver=1.8 -pkgrel=2 +pkgrel=3 pkgdesc="Tool to control multiple terminals from a single terminal" url="http://tmux.sourceforge.net/" arch="all" @@ -10,7 +10,7 @@ license="BSD" depends="ncurses-terminfo" makedepends="ncurses-dev libevent-dev autoconf automake" install= -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-bash-completion:completion" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" @@ -39,6 +39,15 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +completion() { + depends="" + pkgdesc="Bash completion script for tmux" + arch="noarch" + + install -Dm644 "$srcdir"/tmux-$pkgver/examples/bash_completion_tmux.sh \ + "$subpkgdir"/usr/share/bash-completion/completions/tmux +} + md5sums="b9477de2fe660244cbc6e6d7e668ea0e tmux-1.8.tar.gz" sha256sums="f265401ca890f8223e09149fcea5abcd6dfe75d597ab106e172b01e9d0c9cd44 tmux-1.8.tar.gz" sha512sums="555c7cdc51bfbaa1c90fa0dc820e7ad89d8a4eb818e62d8ccf4637cc96e985ffd9c242b9ba092820c3fb96d09d65c46064ce361062e59ef2586b122e624bbbbb tmux-1.8.tar.gz" |