void-packages/srcpkgs/mmv/template

23 lines
629 B
Bash
Raw Normal View History

2015-05-14 13:40:42 +00:00
# Template file for 'mmv'
pkgname=mmv
version=1.01b
2015-05-14 14:44:38 +00:00
revision=2
2015-05-14 13:40:42 +00:00
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"
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
}