archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-log-log4perl / trunk / PKGBUILD
blob05b1d8a529d05a0a7860d560ab948353db626d95
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-log-log4perl
4 pkgver=1.57
5 pkgrel=1
6 pkgdesc='Log4j implementation for Perl'
7 arch=('any')
8 url="https://metacpan.org/release/Log-Log4perl"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/E/ET/ETJ/Log-Log4perl-$pkgver.tar.gz")
13 sha512sums=('5ae4183c5d62addadcdfb70b5097ff1edbb83a9c44d6da0ce28349c8fcdea8ae09c95be24c82e7f71dc9d3c7e64bad605a16500c3e5570592d0482cd39309511')
15 build() {
16   cd Log-Log4perl-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Log-Log4perl-$pkgver
23   make test
26 package() {
27   cd Log-Log4perl-$pkgver
28   make DESTDIR="$pkgdir" install