diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template new file mode 100644 index 00000000000..10b2271f25f --- /dev/null +++ b/srcpkgs/chroot-git/template @@ -0,0 +1,29 @@ +# Template build file for "chroot-git". +pkgname=chroot-git +version=1.8.1.3 +revision=1 +wrksrc="git-$version" +build_style=gnu-configure +configure_args="--without-curl --without-openssl --without-python + --without-expat --without-tcltk" +make_install_args="NO_INSTALL_HARDLINKS=1" +short_desc="GIT Tree History Storage Tool -- for xbps-src use" +maintainer="Juan RP " +homepage="http://git-scm.com/" +license="GPL-2" +distfiles="http://git-core.googlecode.com/files/git-$version.tar.gz" +checksum=3753247dbfd802aaf1cb2c917b8e873b6ed13c009ab0fa5f7d90b3c759195ff1 + +conflicts="git>=0" +bootstrap=yes + +if [ -n "$CHROOT_READY" ]; then + makedepends="perl" +fi + +post_install() { + # remove unneeded stuff. + rm -rf ${DESTDIR}/usr/share/gitweb + rm -rf ${DESTDIR}/usr/share/man + rm -rf ${DESTDIR}/usr/share/perl5 +}