From 930bcc37279832279b555184ff50b1198a77eadc Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 May 2018 16:47:14 +0000 Subject: perl-data-optlist: update to 0.110 --- abs/core/perl_modules/perl-data-optlist/PKGBUILD | 55 +++++++++++------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/abs/core/perl_modules/perl-data-optlist/PKGBUILD b/abs/core/perl_modules/perl-data-optlist/PKGBUILD index 162c662..84d62ee 100644 --- a/abs/core/perl_modules/perl-data-optlist/PKGBUILD +++ b/abs/core/perl_modules/perl-data-optlist/PKGBUILD @@ -1,30 +1,28 @@ -# Maintainer: Justin Davis -# $Id: PKGBUILD 57546 2011-10-30 17:27:04Z juster $ +# $Id$ +# Maintainer: Jonathan Steel +# Contributor: Justin Davis pkgname=perl-data-optlist -pkgver=0.107 -pkgrel=1 -pkgdesc="parse and validate simple name/value option pairs" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl-params-util' 'perl-scalar-list-utils' 'perl-sub-install>=0.921') -makedepends=('perl-extutils-makemaker>=6.30') -checkdepends=('perl-test-simple') -url=https://metacpan.org/release/Data-OptList -source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-${pkgver}.tar.gz") -md5sums=(17177b3cfb8941780a8736f9b9b30421) -sha512sums=(06d0ca9b2f6142ea4c0de8c6f858bd96fb3964490e50f1caa677e2d53e144a4ce6c89097ad99d390ea86436923a449df8a38bd9064b0b91290b836f084d765f2) -_distdir="${srcdir}/Data-OptList-${pkgver}" +pkgver=0.110 +pkgrel=3 +pkgdesc="Parse and validate simple name/value option pairs" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-params-util' 'perl-scalar-list-utils' 'perl-sub-install') +makedepends=('perl-extutils-makemaker') +url="https://metacpan.org/release/Data-OptList" +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-$pkgver.tar.gz) +md5sums=('f9236c9ea5607134ad8a2b3dc901c4c5') 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 "$srcdir"/Data-OptList-$pkgver - cd "$_distdir" /usr/bin/perl Makefile.PL make ) @@ -32,19 +30,14 @@ build() { check() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" + cd "$srcdir"/Data-OptList-$pkgver + make test ) } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} + cd "$srcdir"/Data-OptList-$pkgver -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir"/ install +} -- cgit v0.12