diff options
Diffstat (limited to 'main/git/APKBUILD')
-rw-r--r-- | main/git/APKBUILD | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD index c539da6168..cdad44cbdd 100644 --- a/main/git/APKBUILD +++ b/main/git/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=git pkgver=1.8.4.3 -pkgrel=0 +pkgrel=1 pkgdesc="A distributed version control system" url="http://git.or.cz/" arch="all" license="GPL2+" depends= replaces="git-perl" -subpackages="$pkgname-doc $pkgname-svn $pkgname-perl" +subpackages="$pkgname-doc $pkgname-svn $pkgname-perl $pkgname-bash-completion:completion" makedepends="zlib-dev openssl-dev curl-dev expat-dev perl-dev python-dev pcre-dev" source="http://git-core.googlecode.com/files/git-$pkgver.tar.gz @@ -75,6 +75,16 @@ svn() { mv "$pkgdir"/usr/libexec/git-core/git-svn "$subpkgdir"/usr/libexec/git-core } +completion() { + depends="" + pkgdesc="Bash completion script for git" + arch="noarch" + replaces="" + + install -Dm644 "$srcdir"/git-$pkgver/contrib/completion/git-completion.bash \ + "$subpkgdir"/usr/share/bash-completion/completions/git +} + md5sums="ec3f9007cc1542e8d94ccff1cf8882f5 git-1.8.4.3.tar.gz 178d2d10f9740fac4a8af0155368b3d9 0001-config-add-_cb-suffix-to-callback-functions.patch e63a201556c4f089de790805c09a2e5b bb-tar.patch |