updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / perl-archive-any / PKGBUILD
blob21f840bba90df842de56ecf45a3bfff3ed940d82
1 # Contributor Gustavo Dutra <mechamo@gustavodutra.com>
2 pkgname=perl-archive-any
3 _realname=Archive-Any
4 pkgver=0.0932
5 pkgrel=2
6 pkgdesc="Archive::Any - Single interface to deal with file archives"
7 arch=(i686 x86_64)
8 license=('PerlArtistic')
9 url="http://search.cpan.org/~cmoore/${_realname}-${pkgver}/"
10 options=(!emptydirs)
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')
16 build() {
17   cd ${srcdir}/${_realname}-${pkgver}
18   # install module in vendor directories.
19   perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make  || 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: