PKGBUILDs/community/perl-log-log4perl/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
696 B
Bash

# Maintainer: Firmicus <francois.archlinux.org>
pkgname=perl-log-log4perl
_cpanname=Log-Log4perl
pkgver=1.24
pkgrel=1
pkgdesc="Log4j implementation in Perl"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~MSCHILLI/${_cpanname}"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MS/MSCHILLI/${_cpanname}-${pkgver}.tar.gz)
md5sums=('102dd4fc918ffb730c7cde49aeaecb3a')
build() {
cd $srcdir/${_cpanname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$pkgdir || return 1
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}