void-packages/srcpkgs/mmv/template
2018-11-30 15:43:38 -02:00

22 lines
636 B
Bash

# Template file for 'mmv'
pkgname=mmv
version=1.01b
revision=3
wrksrc=${pkgname}-${version}.orig
build_style=gnu-makefile
short_desc="Utility for wildcard renaming, copying, etc"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-only"
homepage="http://www.usinglinux.org/misc/mmv.html"
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
}