updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-test-synopsis / PKGBUILD
blob8a3a34ac47b203495cbb8f874911902969c1338f
1 # CPAN Name  : Test-Synopsis
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-test-synopsis/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-test-synopsis'
8 pkgver='0.06'
9 pkgrel='1'
10 pkgdesc="Test your SYNOPSIS code"
11 arch=('any')
12 license=('PerlArtistic' 'GPL')
13 options=('!emptydirs')
14 depends=('perl')
16 url='http://search.cpan.org/dist/Test-Synopsis'
18 source=('http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Test-Synopsis-0.06.tar.gz')
19 md5sums=('6114b3d3f354ad864d83fb8689934ca1')
21 build() {
22   DIST_DIR="${srcdir}/Test-Synopsis-0.06"
23   export PERL_MM_USE_DEFAULT=1
24   {
26         cd "$DIST_DIR" &&
28     perl Makefile.PL INSTALLDIRS=vendor &&
29     make &&
30     make test &&
31     make DESTDIR="$pkgdir" install;
32   } || return 1;
34   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete