summaryrefslogtreecommitdiff
path: root/user/tmux-bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'user/tmux-bash-completion')
-rw-r--r--user/tmux-bash-completion/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/user/tmux-bash-completion/APKBUILD b/user/tmux-bash-completion/APKBUILD
index 8ddbcc875..fe35c7d11 100644
--- a/user/tmux-bash-completion/APKBUILD
+++ b/user/tmux-bash-completion/APKBUILD
@@ -7,17 +7,18 @@ pkgrel=0
pkgdesc="bash-completion files for tmux"
url="https://github.com/imomaliev/tmux-bash-completion"
arch="noarch"
-options="!check" # no tests
+options="!check" # No test suite.
license="GPL-2.0-only"
depends="bash-completion tmux"
makedepends=""
subpackages=""
+install_if="tmux bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/imomaliev/tmux-bash-completion/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
package() {
- cd "$builddir"
- install -Dm644 ./completions/tmux "$pkgdir"/usr/share/bash-completion/completions/tmux
+ install -Dm644 "$builddir"/completions/tmux \
+ "$pkgdir"/usr/share/bash-completion/completions/tmux
}
sha512sums="6c4c761aa152d1352a575c91e2c375d3f19ad01263b603b9e0cde4bdd95ce478c93bb55bfcd9fa5332cde12399e1e1e1c062e6be2ed7403b96e808275401effa tmux-bash-completion-1.0.0_git20170805.tar.gz"