git: added docs subpkg that contains the manpages.

--HG--
extra : convert_revision : b593dd071f52d1985957283d617ab994a3fb526f
This commit is contained in:
Juan RP 2009-11-26 23:05:13 +01:00
parent 9ba198c5c5
commit a836db69c0
3 changed files with 21 additions and 1 deletions

1
srcpkgs/git-docs Symbolic link
View file

@ -0,0 +1 @@
git

View file

@ -0,0 +1,16 @@
# Template file for 'git-docs'.
#
short_desc="${sourcepkg} documentation"
long_desc="${long_desc}
This package contains the full git documentation (manual pages)."
noarch=yes
do_install()
{
mkdir -p ${DESTDIR}/usr/share/man
for f in man1 man5 man7; do
mv ${SRCPKGDESTDIR}/usr/share/man/${f} ${DESTDIR}/usr/share/man
done
}

View file

@ -4,6 +4,7 @@ version=1.6.5.3
distfiles="http://www.kernel.org/pub/software/scm/git/git-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-shell=/bin/sh --with-curl --with-expat --without-tcltk"
make_install_args="install-doc"
short_desc="GIT Tree History Storage Tool"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3822c8350be782f28a7a60138ec65a6f04f259940f84f7062e508d9f9d64eefa
@ -18,7 +19,7 @@ long_desc="
GIT working directory is a full-fledged repository with full revision tracking
capabilities, not dependent on network access to a central server."
subpackages="$pkgname-perl"
subpackages="$pkgname-docs $pkgname-perl"
Add_dependency full glibc
Add_dependency full zlib
Add_dependency full expat
@ -26,3 +27,5 @@ Add_dependency full openssl
Add_dependency build perl
Add_dependency build curl
Add_dependency run curl-libs
Add_dependency build asciidoc
Add_dependency build xmlto