1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
3 pkgname=perl-file-find-rule
4 _realname=File-Find-Rule
7 pkgdesc="Perl/CPAN Module File::Find::Rule."
10 url="http://search.cpan.org/dist/File-Find-Rule/"
11 depends=('perl-text-glob' 'perl-number-compare' 'perl')
13 source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/${_realname}-${pkgver}.tar.gz)
14 md5sums=('92c6cb88549c30f5665e39bf80f3d704')
17 cd $startdir/src/${_realname}-$pkgver
18 # install module in vendor directories.
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR=${startdir}/pkg || return 1
23 # remove perllocal.pod and .packlist
24 find ${startdir}/pkg -name perllocal.pod -delete
25 find ${startdir}/pkg -name .packlist -delete