Convert all xbps-base-chroot pkgs to subpkgs.
Also introduce "libs.depends", that adds a rundep of a package with a proper version. This is to avoid modifying all dependent packages if there's an API/ABI change. --HG-- extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
This commit is contained in:
parent
2cfb55735b
commit
1b358afeaf
145 changed files with 1083 additions and 44 deletions
20
templates/gzip/docs.template
Normal file
20
templates/gzip/docs.template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'gzip-docs'.
|
||||
#
|
||||
short_desc="${short_desc} (documentation)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the ${sourcepkg} documentation: manual pages
|
||||
and info files."
|
||||
run_depends=
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
# Move manpages and info files.
|
||||
mkdir -p ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/man ${destdir}/usr/share
|
||||
mv ${origdir}/usr/share/info ${destdir}/usr/share
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue