archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-log-any-adapter-tap / trunk / PKGBUILD
blob05b2dfe7e0cbd837c4544f5d458782239a5521d1
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-log-any-adapter-tap
4 pkgver=0.003003
5 pkgrel=5
6 pkgdesc='Logger suitable for use with TAP test files'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl>=5.6.0' perl-log-any perl-try-tiny)
11 url=https://metacpan.org/release/Log-Any-Adapter-TAP
12 source=("https://search.cpan.org/CPAN/authors/id/N/NE/NERDVANA/Log-Any-Adapter-TAP-$pkgver.tar.gz")
13 md5sums=(c5fe31d8990f8ce06cc6a8fdc3feec58)
14 sha512sums=(fbb8c5893d184c066fe471a207ecca98f2cacfbd98401f35d156cbb8bde567b313d846b75f721643fc470c1a19c162d3d791585f87d47a71e4fd7372252e65a5)
15 _ddir="Log-Any-Adapter-TAP-$pkgver"
17 build()
19   cd "$srcdir/$_ddir"
20   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
21   unset PERL5LIB PERL_MM_OPT
22   /usr/bin/perl Makefile.PL
23   make
26 check()
28   cd "$srcdir/$_ddir"
29   export PERL_MM_USE_DEFAULT=1
30   unset PERL5LIB
31   make test
34 package()
36   cd "$srcdir/$_ddir"
37   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
38   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
41 # Local Variables:
42 # mode: shell-script
43 # sh-basic-offset: 2
44 # End:
45 # vim:set ts=2 sw=2 et: