# Template file for 'moreutils'
pkgname=moreutils
version=0.56
revision=1
build_style=gnu-makefile
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=ec4b7a1e1d1e1d6ec606d2877301ec06c6cf4091776687d9b76f4d019705e77f

post_install() {
	# rename parallel to not conflict with gnu-parllel
	mv ${DESTDIR}/usr/bin/{,moreutils_}parallel
	mv ${DESTDIR}/usr/share/man/man1/{,moreutils_}parallel.1
}
