VERSION="8.31" SRCDIR="coreutils-${VERSION}" TARBALL="${SRCDIR}.tar.xz" URL="https://ftp.gnu.org/gnu/coreutils/" SHA256SUM="ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd" DEPENDS="toolchain" prepare() { apply_patches } build() { run_configure "$1" --enable-single-binary=symlinks make -j $NUMJOBS } deploy() { make DESTDIR="$PKGDEPLOYDIR" install cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR" } check_update() { check_update_simple "$URL" "coreutils" "tar.xz" }