archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-log-any / repos / community-any / PKGBUILD
blob611731dda759218e9039004a99d86d87af8e42c3
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-log-any
4 pkgver=1.714
5 pkgrel=1
6 pkgdesc='Bringing loggers and listeners together'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=(perl)
11 checkdepends=(perl-devel-stacktrace)
12 url=https://metacpan.org/release/Log-Any
13 source=("https://cpan.metacpan.org/authors/id/P/PR/PREACTION/Log-Any-$pkgver.tar.gz")
14 md5sums=(5763f94601b072c6d6522a40d92a1556)
15 sha512sums=(35809f8da7be83b43da505fbccca472c7040fb7e89da0d3422bf0ada3b2391569ec1db738870ac9870ccbb4e5ba2ffcd98c9eac7655b940e08c4afcbf17f5867)
16 _ddir="Log-Any-$pkgver"
18 build()
20   cd "$srcdir/$_ddir"
21   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22   unset PERL5LIB PERL_MM_OPT
23   /usr/bin/perl Makefile.PL
24   make
27 check()
29   cd "$srcdir/$_ddir"
30   export PERL_MM_USE_DEFAULT=1
31   unset PERL5LIB
32   make test
35 package()
37   cd "$srcdir/$_ddir"
38   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
41 # Local Variables:
42 # mode: shell-script
43 # sh-basic-offset: 2
44 # End:
45 # vim:set ts=2 sw=2 et: