void-packages/srcpkgs/moreutils/template
cr6git 80edad84b5 moreutils: update to 0.61.
Closes: #10065 [via git-merge-pr]
2017-12-19 05:31:32 +01:00

24 lines
853 B
Bash

# Template file for 'moreutils'
pkgname=moreutils
version=0.61
revision=1
build_style=gnu-makefile
make_build_args="DOCBOOK2XMAN=docbook2man"
hostmakedepends="docbook2x"
depends="perl perl-IPC-Run perl-TimeDate perl-Time-Duration"
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="https://github.com/rtlanceroad/moreutils/archive/${version}.tar.gz"
checksum=eb47d33251715a8638c2309ab69b23e9023f7fd2fe2c101c9574230e91ff308b
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
}