moreutils: update to 0.66.

By ericonr:
- move INSTALL.msg to README.voidlinux, fix actual command names

Closes: #33027 [via git-merge-pr]
This commit is contained in:
mobinmob 2021-09-19 18:37:06 +03:00 committed by Érico Nogueira
parent 8ec98c80c0
commit 6a1c1e3fe5
3 changed files with 10 additions and 12 deletions

View file

@ -1,8 +0,0 @@
Since some tools of moreutils conflict with other package's names, the
corresponding files and their manpages are renamed:
GNU parallel:
parallel -> moreutils-parallel
Task Spooler: (https://github.com/voidlinux/void-packages/issues/4282)
ts -> moreutils-ts

View file

@ -0,0 +1,5 @@
Since some moreutils tools conflict with other packages, the
following executables and their manpages have been renamed:
- parallel -> moreutils_parallel (GNU parallel)
- ts -> moreutils_ts (Task Spooler)

View file

@ -1,6 +1,6 @@
# Template file for 'moreutils'
pkgname=moreutils
version=0.65
version=0.66
revision=1
build_style=gnu-makefile
make_build_args="DOCBOOK2XMAN=docbook2man"
@ -11,16 +11,17 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2.0-only, BSD-2-Clause"
homepage="https://joeyh.name/code/moreutils/"
distfiles="https://git.joeyh.name/index.cgi/moreutils.git/snapshot/moreutils-${version}.tar.gz"
checksum=60c9f6b55204e64cfcd12fd66e75cf7a061b6761f3d5b7797f2452cb17598881
checksum=dc079e018aaff22446cf36eccb298627bb0222ec6dc23a173860c9e1f16e214d
post_install() {
# rename parallel to not conflict with gnu-parllel
# rename ts: https://github.com/voidlinux/void-packages/issues/4282
# rename parallel to not conflict with gnu-parallel
# rename ts to not conflict with ts
for conflict in parallel ts; do
mv ${DESTDIR}/usr/bin/{,moreutils_}${conflict}
mv ${DESTDIR}/usr/share/man/man1/{,moreutils_}${conflict}.1
done
vdoc ${FILESDIR}/README.voidlinux
sed -n '/Copyright/,/DAMAGE/p' is_utf8/is_utf8.c > LICENSE-is-utf8
vlicense LICENSE-is-utf8