From f0a7abfc3d0b8cac9f66e9d4a16d780e11241a6d Mon Sep 17 00:00:00 2001 From: str1ngs Date: Thu, 23 Jun 2011 10:08:34 -0700 Subject: [PATCH] git: install bash-completions contrib --- srcpkgs/git/template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/srcpkgs/git/template b/srcpkgs/git/template index 2bd3b2eb18..a8df69c640 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 +}