Date: Tuesday, May 15, 2012 @ 13:13:57 Author: juster Revision: 159103
archrelease: copy trunk to extra-any Added: perl-log-log4perl/repos/extra-any/PKGBUILD (from rev 159102, perl-log-log4perl/trunk/PKGBUILD) Deleted: perl-log-log4perl/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 95 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 46 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2012-05-15 17:13:50 UTC (rev 159102) +++ PKGBUILD 2012-05-15 17:13:57 UTC (rev 159103) @@ -1,49 +0,0 @@ -# Packager: Justin Davis <jrc...@gmail.com> -# $Id$ - -pkgname=perl-log-log4perl -pkgver=1.35 -pkgrel=1 -pkgdesc="Log4j implementation for Perl" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl-pathtools') -checkdepends=('perl-test-simple') -url=https://metacpan.org/release/Log-Log4perl -source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-${pkgver}.tar.gz") -md5sums=(bf5d124ee119052525cae1df2f2442be) -sha512sums=(375deac5aee6a55ba00a32173644bb67edf65dcc46a45ca6311f04f8ab07599d543e110e0ec7b1db1f70b117e3465f97a4a0b6a86ee28a7cda59d41167fc90f5) -_distdir="${srcdir}/Log-Log4perl-${pkgver}" - -build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ - PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ - MODULEBUILDRC=/dev/null - - cd "$_distdir" - /usr/bin/perl Makefile.PL - make - ) -} - -check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) -} - -package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: Copied: perl-log-log4perl/repos/extra-any/PKGBUILD (from rev 159102, perl-log-log4perl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2012-05-15 17:13:57 UTC (rev 159103) @@ -0,0 +1,46 @@ +# Packager: Justin Davis (juster) <jrc...@gmail.com> +# $Id$ + +pkgname=perl-log-log4perl +pkgver=1.36 +pkgrel=1 +pkgdesc='Log4j implementation for Perl' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=(perl) +url=https://metacpan.org/release/Log-Log4perl +source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-$pkgver.tar.gz") +md5sums=(ae6a51735b0b0e6661d2e66d30d91fa5) +sha512sums=(ac940b5de1ed3d04a3dfa06625c7311f31b0439786fe49fe56fe31a1bfbe78be378240a71fd79bd766e23600798621742f0572ddf1bb6bde7623832030e9ed3c) +_dir="$srcdir/Log-Log4perl-$pkgver" + +build() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$_dir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$_dir" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +) + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: