void-packages/srcpkgs/mmv/template

22 lines
678 B
Bash

# Template file for 'mmv'
pkgname=mmv
version=2.7
revision=2
build_style=gnu-configure
build_helper=qemu
hostmakedepends="pkg-config help2man"
short_desc="Utility for wildcard renaming, copying, etc"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/rrthomas/mmv"
distfiles="https://github.com/rrthomas/mmv/releases/download/v${version}/mmv-${version}.tar.gz"
checksum=11346686634000e22aa909e08d9d450237c4b61062779935cbd81df78efad72d
disable_parallel_build=yes
pre_build() {
rm -f mmv.1
if [ "$CROSS_BUILD" ]; then
vsed -i 's:./mmv:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:' build-aux/mmv-help2man-wrapper
fi
}