blob: beb99d9433466fc196dd2b06c50073494525eb24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# CPAN Name : Log::Report
# Contributor: Anton Leontiev <scileont /at/ gmail.com>
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname=perl-log-report
pkgver=1.32
pkgrel=1
pkgdesc='Perl package to log/report a problem with exceptions, pluggable handlers and translation support'
arch=('any')
url='https://metacpan.org/release/Log-Report'
license=('PerlArtistic' 'GPL')
depends=('perl>=5.10.1' 'perl-devel-globaldestruction>=0.09' 'perl-log-report-optional>=1.07' 'perl-string-print>=0.91')
source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/Log-Report-1.32.tar.gz)
options=(!emptydirs)
md5sums=('bc845633312dbd5331a74f5c5129fe30')
sanitize() {
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
}
build() {
cd Log-Report-1.32
sanitize
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Log-Report-1.32
sanitize
make test
}
package() {
cd Log-Report-1.32
sanitize
make install DESTDIR="$pkgdir"
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}
|