diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-14 14:53:16 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-14 14:53:16 +0200 |
commit | 84428018cca2cdf2faf2ae334931480afd1e433f (patch) | |
tree | b9f89d93870126c81659ed00b7f7b438d8651dde /main/tmux/APKBUILD | |
parent | 491ff08e7e013b769a82755cb8d21c6f9574498c (diff) | |
download | aports-84428018cca2cdf2faf2ae334931480afd1e433f.tar.bz2 aports-84428018cca2cdf2faf2ae334931480afd1e433f.tar.xz |
main/tmux: use install_if for vim and bash completion files
Diffstat (limited to 'main/tmux/APKBUILD')
-rw-r--r-- | main/tmux/APKBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD index b160e9b5db..fb7254f3a0 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=1 +pkgrel=2 pkgdesc="Tool to control multiple terminals from a single terminal" url="http://tmux.sourceforge.net/" arch="all" @@ -45,6 +45,7 @@ package() { vim() { depends="" pkgdesc="Vim syntax for $pkgname" + install_if="vim $pkgname=$pkgver-r$pkgrel" arch="noarch" install -Dm644 "$_builddir"/examples/$pkgname.vim \ @@ -54,6 +55,7 @@ vim() { completion() { depends="" pkgdesc="Bash completion script for $pkgname" + install_if="bash $pkgname=$pkgver-r$pkgrel" arch="noarch" install -Dm644 "$srcdir"/tmux-$pkgver/examples/bash_completion_tmux.sh \ |