diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:31:50 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 18:31:50 (GMT) |
commit | 0c7359d60675808e7879a6045a33af2ebc0072f3 (patch) | |
tree | 2132bf2059ccc2c596e62ac15a62fcf4f9471ce3 /abs | |
parent | e982a2537190666722edff0e81de02f19b8e3dc7 (diff) | |
download | linhes_pkgbuild-0c7359d60675808e7879a6045a33af2ebc0072f3.zip linhes_pkgbuild-0c7359d60675808e7879a6045a33af2ebc0072f3.tar.gz linhes_pkgbuild-0c7359d60675808e7879a6045a33af2ebc0072f3.tar.bz2 |
perl-sub-exporter: update to 0.987
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-sub-exporter/PKGBUILD | 55 |
1 files changed, 25 insertions, 30 deletions
diff --git a/abs/core/perl_modules/perl-sub-exporter/PKGBUILD b/abs/core/perl_modules/perl-sub-exporter/PKGBUILD index 2d2adb3..ac2b5d5 100644 --- a/abs/core/perl_modules/perl-sub-exporter/PKGBUILD +++ b/abs/core/perl_modules/perl-sub-exporter/PKGBUILD @@ -1,29 +1,28 @@ -# Maintainer: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 57551 2011-10-30 17:28:18Z juster $ +# $Id$ +# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> +# Contributor: Justin Davis <jrcd83@gmail.com> pkgname=perl-sub-exporter -pkgver=0.982 -pkgrel=1 -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=(db90a0d73a5ca2d185dd6c6d2fc848f0) -sha512sums=(10fc2a27d28f47cc5193c13e598e7c16caac0ede5700b0301ab04db371b9250348aa69e076b259d3f5a1ebbdd8793c3230e5f71a0adb1554b1d2fd04b2969d97) -_distdir="${srcdir}/Sub-Exporter-${pkgver}" +pkgver=0.987 +pkgrel=3 +pkgdesc="A sophisticated exporter for custom-built routines" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl' 'perl-data-optlist' 'perl-params-util' 'perl-sub-install') +url="https://metacpan.org/release/Sub-Exporter" +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-$pkgver.tar.gz) +md5sums=('5332d269a7ba387773fcd140b72a0ed2') 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'" \ + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL="--skipdeps" \ + PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" \ MODULEBUILDRC=/dev/null - cd "$_distdir" + cd "$srcdir"/Sub-Exporter-$pkgver + /usr/bin/perl Makefile.PL make ) @@ -31,19 +30,15 @@ build() { check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + + cd "$srcdir"/Sub-Exporter-$pkgver + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd "$srcdir"/Sub-Exporter-$pkgver -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +} |