2018-07-16 20:00:14 +02:00
|
|
|
VERSION="8.30"
|
2017-12-09 21:51:48 +01:00
|
|
|
SRCDIR="coreutils-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://ftp.gnu.org/gnu/coreutils/"
|
2018-07-16 20:00:14 +02:00
|
|
|
SHA256SUM="e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057"
|
2018-02-15 23:47:54 +01:00
|
|
|
DEPENDS="toolchain"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
2018-07-16 20:00:14 +02:00
|
|
|
return
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-22 21:15:43 +02:00
|
|
|
run_configure "$1" --enable-single-binary=symlinks
|
2017-12-09 21:51:48 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L "$URL" | grep -o ">coreutils-[0-9.]*tar.xz<" | \
|
|
|
|
sed 's/>coreutils-//g' | sed 's/.tar.xz<//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|