aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-29 10:33:22 +0000
committerEivind Uggedal <eivind@uggedal.com>2015-09-29 10:33:22 +0000
commit50cda1945b4a402c741bc5a0d80b12191b2350c8 (patch)
treebb21897691e40a4eb8719a353698e490e1674055 /main
parentac495e376ac2ece00a381c2f4d7b50eed731381e (diff)
downloadaports-50cda1945b4a402c741bc5a0d80b12191b2350c8.tar.bz2
aports-50cda1945b4a402c741bc5a0d80b12191b2350c8.tar.xz
main/git: bash-completion install_if
Diffstat (limited to 'main')
-rw-r--r--main/git/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index 6a8ee1f2d3..bcd53e40e4 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=git
pkgver=2.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="A distributed version control system"
url="https://www.git-scm.com/"
arch="all"
@@ -160,10 +160,11 @@ gitweb() {
}
completion() {
+ pkgdesc="Bash completion for $pkgname"
depends=""
- pkgdesc="Bash completion script for git"
arch="noarch"
replaces=""
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
install -Dm644 "$srcdir"/git-$pkgver/contrib/completion/git-completion.bash \
"$subpkgdir"/usr/share/bash-completion/completions/git