updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / perl-pod-tests / PKGBUILD
bloba0a0ac37e7bda986a1fa7764c8e3cbe14c069d51
1 # CPAN Name  : Pod-Tests
2 # Contributor: Anonymous
3 # Generator  : CPANPLUS::Dist::Arch 1.00
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-pod-tests/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-pod-tests'
8 pkgver='1.19'
9 pkgrel='1'
10 pkgdesc="Extracts embedded tests and code examples from POD"
11 arch=('any')
12 url='http://search.cpan.org/dist/Pod-Tests'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Pod-Tests-1.19.tar.gz')
20 md5sums=('9c1a062bc7689e0c4f94784e3de69f35')
22 build() {
23   DIST_DIR="${srcdir}/Pod-Tests-1.19"
24   export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
25   {
26         cd "$DIST_DIR" &&
27     perl Makefile.PL INSTALLDIRS=vendor &&
28     make &&
29     make test &&
30     make DESTDIR="$pkgdir" install;
31   } || return 1;
33   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete