updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-pod-simple / PKGBUILD
blobff63c2d37be0bcd6c6b99131a8b0cc40e7c8c439
1 # CPAN Name  : Pod-Simple
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-pod-simple/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-pod-simple'
8 pkgver='3.14'
9 pkgrel='1'
10 pkgdesc="the framework for parsing Pod"
11 arch=('any')
12 license=('PerlArtistic' 'GPL')
13 options=('!emptydirs')
14 depends=('perl')
16 url='http://search.cpan.org/dist/Pod-Simple'
18 source=('http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Pod-Simple-3.14.tar.gz')
19 md5sums=('10b084e7f24c4fd70bbc00e0198a20d6')
21 build() {
22   DIST_DIR="${srcdir}/Pod-Simple-3.14"
23   export PERL_MM_USE_DEFAULT=1
24   {
25         cd "$DIST_DIR" &&
26     perl Makefile.PL INSTALLDIRS=vendor &&
27     make &&
28     make test &&
29     make DESTDIR="$pkgdir" install;
30   } || return 1;
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete