updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-dist-zilla-plugin-synopsistests / PKGBUILD
blobb05d71eca9e2e21dbaf82d77eb64beb656c8611b
1 # CPAN Name  : Dist-Zilla-Plugin-SynopsisTests
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.02
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-dist-zilla-plugin-synopsistests/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-dist-zilla-plugin-synopsistests'
8 pkgver='1.101420'
9 pkgrel='1'
10 pkgdesc="Release tests for synopses"
11 arch=('any')
12 url='http://search.cpan.org/dist/Dist-Zilla-Plugin-SynopsisTests'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-dist-zilla' 'perl-moose' 'perl-test-synopsis')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/M/MA/MARCEL/Dist-Zilla-Plugin-SynopsisTests-1.101420.tar.gz')
20 md5sums=('e20df3e3de39dafa024534fc45e2214a')
22 build() {
23   DIST_DIR="${srcdir}/Dist-Zilla-Plugin-SynopsisTests-1.101420"
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