24 lines
662 B
Bash
24 lines
662 B
Bash
# Template file for 'perl-File-Rename'
|
|
pkgname=perl-File-Rename
|
|
version=2.02
|
|
revision=1
|
|
build_style=perl-module
|
|
hostmakedepends="perl-Module-Build"
|
|
makedepends="perl"
|
|
depends="${makedepends}"
|
|
short_desc="Perl module to rename filenames"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Artistic-1.0-Perl"
|
|
homepage="https://metacpan.org/release/File-Rename"
|
|
distfiles="${CPAN_SITE}/File/${pkgname/perl-/}-${version}.tar.gz"
|
|
checksum=537b608008b68136dae0b8bd1afe5eab75264bb64bb17839ee65bdb474c520df
|
|
|
|
post_extract() {
|
|
vsed -i source/rename -e"s;rename - renames multiple files;p&;"
|
|
}
|
|
|
|
post_install() {
|
|
# Rename to prename
|
|
mv ${DESTDIR}/usr/bin/{,p}rename
|
|
}
|