# Template file for 'chroot-coreutils' pkgname=chroot-coreutils version=8.22 revision=3 wrksrc="${pkgname/chroot-}-${version}" bootstrap=yes provides="coreutils-${version}_${revision}" conflicts="coreutils>=0" build_style=gnu-configure configure_args="--without-gmp --disable-libcap --disable-xattr --disable-acl --disable-rpath --disable-nls --enable-no-install-program=stdbuf,arch,su --enable-install-program=hostname gl_cv_func_realpath_works=yes" short_desc="The GNU core utilities - for xbps-src use" maintainer="Juan RP " homepage="http://www.gnu.org/software/coreutils" license="GPL-3" distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz" checksum=5b3e94998152c017e6c75d56b9b994188eb71bf46d4038a642cb9141f6ff1212 case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS+=" -DSLOW_BUT_NO_HACKS";; esac post_install() { rm -rf ${DESTDIR}/usr/lib rm -rf ${DESTDIR}/usr/share }