mmv: run help2man as upstream manpage is broken

This commit is contained in:
Leah Neukirchen 2024-09-10 15:27:43 +02:00
parent 9734ec7a2d
commit 403e8c6022
1 changed files with 8 additions and 2 deletions

View File

@ -1,12 +1,18 @@
# Template file for 'mmv'
pkgname=mmv
version=2.7
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
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
pre_build() {
rm -f mmv.1
[ "$CROSS_BUILD" ] && vsed -i 's:./mmv:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:' build-aux/mmv-help2man-wrapper
}