git: add git-subtree.

This is just a small shell script in contrib/, but quite useful.

Fixes #6358.
This commit is contained in:
Leah Neukirchen 2017-05-10 13:52:16 +02:00
parent 511abdcefd
commit d25af4335b
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for "git"
pkgname=git
version=2.13.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-curl --with-expat --with-tcltk --with-libpcre
ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no"
@ -21,12 +21,14 @@ subpackages="git-cvs git-svn git-perl gitk git-gui git-all"
post_build() {
make ${makejobs} -C Documentation man
make ${makejobs} -C contrib/subtree all git-subtree.1
}
post_install() {
make NO_INSTALL_HARDLINKS=1 DESTDIR=${DESTDIR} install-doc
vinstall contrib/completion/git-completion.bash 644 \
usr/share/bash-completion/completions git
vinstall contrib/completion/git-prompt.sh 644 usr/share/git
make -C contrib/subtree DESTDIR=${DESTDIR} prefix=/usr install install-man
}
git-perl_package() {