updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-file-find-rule / PKGBUILD
blob3372331bc628fe40a6ac588e586fd3bd45459848
1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
3 pkgname=perl-file-find-rule
4 _realname=File-Find-Rule
5 pkgver=0.33
6 pkgrel=1
7 pkgdesc="Perl/CPAN Module File::Find::Rule."
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 url="http://search.cpan.org/dist/File-Find-Rule/"
11 depends=('perl-text-glob' 'perl-number-compare' 'perl')
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/${_realname}-${pkgver}.tar.gz)
14 md5sums=('92c6cb88549c30f5665e39bf80f3d704')
16 build() {
17   cd $startdir/src/${_realname}-$pkgver
18   # install module in vendor directories.
19   perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make  || 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