Date: Saturday, June 29, 2013 @ 17:48:31 Author: jsteel Revision: 93242
upgpkg: perl-sub-exporter 0.986-1 Modified: perl-sub-exporter/trunk/PKGBUILD ----------+ PKGBUILD | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-06-29 10:14:01 UTC (rev 93241) +++ PKGBUILD 2013-06-29 15:48:31 UTC (rev 93242) @@ -1,27 +1,29 @@ -# Maintainer: Justin Davis <jrc...@gmail.com> # $Id$ +# Maintainer: Jonathan Steel <jst...@aur.archlinux.org> +# Contributor: Justin Davis <jrc...@gmail.com> pkgname=perl-sub-exporter -pkgver=0.985 +pkgver=0.986 pkgrel=1 -pkgdesc="a sophisticated exporter for custom-built routines" -arch=(any) -license=(PerlArtistic GPL) +pkgdesc="A sophisticated exporter for custom-built routines" +arch=('any') +license=('PerlArtistic' 'GPL') options=(!emptydirs) depends=('perl>=5.6.0' 'perl-data-optlist>=0.1' 'perl-params-util>=0.14' 'perl-sub-install>=0.92') url="https://metacpan.org/release/Sub-Exporter" -source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-${pkgver}.tar.gz") -md5sums=('233b9a1d86a4395de7e1afe5b60632b7') +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz") +md5sums=('bdfa41103f82ab8611af61fceed1271e') build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor" \ - PERL_MB_OPT="--installdirs vendor" \ + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null - cd Sub-Exporter-${pkgver} + cd Sub-Exporter-$pkgver + /usr/bin/perl Makefile.PL make ) @@ -29,18 +31,15 @@ check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd Sub-Exporter-${pkgver} + + cd Sub-Exporter-$pkgver + make test ) } package() { - cd Sub-Exporter-${pkgver} + cd Sub-Exporter-$pkgver + make DESTDIR="$pkgdir" install } - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: