git: install bash-completions contrib

This commit is contained in:
str1ngs 2011-06-23 10:08:34 -07:00
parent cba275234d
commit f0a7abfc3d

View File

@ -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
}