diff --git a/srcpkgs/git/template b/srcpkgs/git/template index 2bd3b2eb186..a8df69c6401 100644 --- a/srcpkgs/git/template +++ b/srcpkgs/git/template @@ -1,6 +1,7 @@ # Template build file for 'git". pkgname=git version=1.7.5.4 +revision=1 distfiles="http://www.kernel.org/pub/software/scm/git/git-$version.tar.bz2" build_style=gnu_configure configure_args="--with-curl --with-expat --without-tcltk" @@ -43,3 +44,10 @@ post_build() # Build the manpages. make -C Documentation man } + +post_install() +{ + mkdir -v -p ${DESTDIR}/etc/bash_completion.d + install -D -m644 contrib/completion/git-completion.bash \ + ${DESTDIR}/etc/bash_completion.d/git +}