Commit 96560ccc authored by omni's avatar omni
Browse files

testing/uutils-coreutils: upgrade to 0.0.7

- handle an unfortunate line break when piping output that split sha3-224sum
- uutils test has no --help but [ does? let's use that for uutils-test.1
- od seem to have lost its --version argument, set explicitly
parent 208593d2
Pipeline #87228 failed with stages
in 137 minutes and 12 seconds
# Maintainer: omni <omni+alpine@hack.org>
pkgname=uutils-coreutils
_pkgname=coreutils
pkgver=0.0.6
pkgver=0.0.7
pkgrel=0
pkgdesc="coreutils rewritten in Rust"
# s390x, mips64, riscv64: limited by cargo
......@@ -26,10 +26,15 @@ build() {
gzip -c docs/_build/man/uutils.1 > man1/uutils.1.gz
# create symlinks and individual man pages
for uutil in $(./bin/uutils | tail -n +7 | tr -d '\n' | sed 's/,//g'); do
for uutil in $(./bin/uutils | tail -n +7 | tr -d '\n' | sed -e 's/,//g' -e 's/sha3-\s*224sum/sha3-224sum/'); do
ln -s uutils bin/uutils-$uutil
case "$uutil" in
false|test|true) ;; # helpless
\[) help2man --no-info --name=uutils-test --manual=uutils \
bin/uutils-"$uutil" > man1/uutils-test.1 ;;
od) help2man --no-info --name=uutils-"$uutil" --manual=uutils \
--version-string="$pkgver" \
bin/uutils-"$uutil" > man1/uutils-"$uutil".1 ;;
*) help2man --no-info --name=uutils-"$uutil" --manual=uutils \
bin/uutils-"$uutil" > man1/uutils-"$uutil".1 ;;
esac
......@@ -49,4 +54,4 @@ package() {
install -Dm0644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"
}
sha512sums="e96121d3e5535f3c83abc001d8178fd4fd367b9309aed7be28ad4ba965e1fc02fa7f070338cd34b508fcfe99e78a53195e8f313500ba50c1ac7a825ba746c8d8 uutils-coreutils-0.0.6.tar.gz"
sha512sums="b9f14f02dd485b5816bdbad2210f7436aff599f84f7c6f42827ef1050969dbdf8e112f7866a80c736a9b3114ab5b6d923df5537ce5e38f57ba8167179fd39041 uutils-coreutils-0.0.7.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment