26 lines
868 B
Bash
26 lines
868 B
Bash
# Template file for 'moreutils'
|
|
pkgname=moreutils
|
|
version=0.59
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
wrksrc="${pkgname}-${version}.orig"
|
|
make_build_args="DOCBOOK2XMAN=docbook2man"
|
|
hostmakedepends="docbook2x"
|
|
depends="perl perl-IPC-Run perl-TimeDate"
|
|
short_desc="Unix tools that nobody thought to write, when Unix was young"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
license="GPL-2"
|
|
homepage="https://joeyh.name/code/moreutils/"
|
|
distfiles="${DEBIAN_SITE}/main/m/moreutils/moreutils_${version}.orig.tar.gz"
|
|
checksum=a48e11c3197bf79a7bfaa121423e64626e3381d9fedc91d606e9724ae498d1b4
|
|
|
|
post_install() {
|
|
# rename parallel to not conflict with gnu-parllel
|
|
# rename ts: https://github.com/voidlinux/void-packages/issues/4282
|
|
|
|
for conflict in parallel ts; do
|
|
mv ${DESTDIR}/usr/bin/{,moreutils_}${conflict}
|
|
mv ${DESTDIR}/usr/share/man/man1/{,moreutils_}${conflict}.1
|
|
done
|
|
}
|