1 # Contributor Gustavo Dutra <mechamo@gustavodutra.com>
2 pkgname=perl-archive-any
6 pkgdesc="Archive::Any - Single interface to deal with file archives"
8 license=('PerlArtistic')
9 url="http://search.cpan.org/~cmoore/${_realname}-${pkgver}/"
11 depends=('perl>=5.10.1' 'perl-archive-zip' 'perl-file-mmagic' 'perl-module-find' 'perl-mime-types' 'perl-test-warn')
12 #provides=("archive-any=$pkgver" "Archive::Any=$pkgver" "perl-archive-any=$pkgver")
13 source=(http://search.cpan.org/CPAN/authors/id/C/CM/CMOORE/Archive-Any-$pkgver.tar.gz)
14 md5sums=('aaab5cf41f2efe428b65fbc352ee314e')
17 cd ${srcdir}/${_realname}-${pkgver}
18 # install module in vendor directories.
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR=${pkgdir} || return 1
23 # remove perllocal.pod and .packlist
24 find ${pkgdir} -name perllocal.pod -delete
25 find ${pkgdir} -name .packlist -delete
28 # vim:set ts=2 sw=2 et: