void-packages/srcpkgs/mmv/template
Leah Neukirchen eb5c9b34b0 mmv: adopt.
2021-04-10 16:56:42 +02:00

22 lines
634 B
Bash

# Template file for 'mmv'
pkgname=mmv
version=1.01b
revision=4
wrksrc="${pkgname}-${version}.orig"
build_style=gnu-makefile
short_desc="Utility for wildcard renaming, copying, etc"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://packages.debian.org/unstable/utils/mmv"
distfiles="http://mirrors.kernel.org/gentoo/distfiles/${pkgname}_${version}.orig.tar.gz"
checksum=0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef
do_install() {
local l
vbin mmv
vman mmv.1
for l in mcp mad mln; do
ln -s mmv ${DESTDIR}/usr/bin/$l
ln -s mmv.1 ${DESTDIR}/usr/share/man/man1/$l.1
done
}