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

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
}