From 151c2019f45dfb553366ba08883c743e36767bc6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 25 Aug 2011 20:46:12 +0200 Subject: [PATCH] git: update to 1.7.6.1. --- srcpkgs/git/template | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/srcpkgs/git/template b/srcpkgs/git/template index 76e2614a352..521e1ee4c02 100644 --- a/srcpkgs/git/template +++ b/srcpkgs/git/template @@ -1,15 +1,13 @@ # Template build file for 'git". pkgname=git -version=1.7.6 +version=1.7.6.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" -make_install_args="install-doc" +build_style=custom-install short_desc="GIT Tree History Storage Tool" maintainer="Juan RP " homepage="http://git-scm.com/" license="GPL-2" -checksum=778795cece63cd758192378f3a999870cea290181b3a4c9de573c77192561082 +checksum=856d4197ef7172938b0b44e55174c7d7ddfaf5e844e04960322c49eda9f3a246 long_desc=" GIT is a directory content manager designed to handle absolutely massive projects with speed and efficiency, and the release of the 2.6.12 (and later) @@ -38,15 +36,20 @@ Add_dependency build xmlto Add_dependency build diffutils Add_dependency build python-devel -post_build() +do_configure() { - # Build the manpages. - make -C Documentation man + ./configure ${CONFIGURE_SHARED_ARGS} --with-curl --with-expat \ + --without-tcltk } -post_install() +do_build() { - mkdir -p ${DESTDIR}/etc/bash_completion.d - install -D -m644 contrib/completion/git-completion.bash \ - ${DESTDIR}/etc/bash_completion.d/git + make ${makejobs} && make ${makejobs} -C Documentation man +} + +do_install() +{ + make DESTDIR=${DESTDIR} install install-doc + vinstall contrib/completion/git-completion.bash 644 \ + etc/bash_completion.d git }