diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index dca74c7e826..a30af502a8e 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -17,10 +17,6 @@ if [ "$CHROOT_READY" ]; then hostmakedepends="perl" fi -if [ "$CROSS_BUILD" ]; then - subpackages="coreutils-doc" -fi - do_configure() { if [ "$CROSS_BUILD" ]; then configure_args+=" fu_cv_sys_stat_statfs2_bsize=yes @@ -61,6 +57,8 @@ do_install() { fi } +if [ -z "$CROSS_BUILD" ]; then + coreutils-doc_package() { noarch=yes short_desc+=" - documentation files" @@ -70,3 +68,5 @@ coreutils-doc_package() { vmove usr/share/man } } + +fi