# Template build file for 'perl-rename'
pkgname=perl-rename
version=1.9
revision=1
homepage="http://search.cpan.org/~pederst/rename/"
short_desc="Renames multiple files using Perl regular expressions"
license="Artistic, GPL-1"
maintainer="Georg Schabel <gescha@posteo.de>"

distfiles="${CPAN_SITE}/Palm/PEDERST/rename-$version.tar.gz"
checksum=17c5744f10d335a9d3674ed011ff26d3e840f25290c7f86c1d63d05771677ea0
build_style=perl-module
noarch="yes"
wrksrc="rename-${version}"
hostmakedepends="perl"
makedepends="${hostmakedepends}"
depends="${hostmakedepends}"

do_install() {
	vinstall blib/man1/rename.1p 644 /usr/share/man/man1/ perl-rename.1p
	vinstall bin/rename 755 /usr/bin/ perl-rename
}
