From 13800b5d64bff0627aafa024e711db706d6912d2 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 16:32:07 +0000 Subject: perl-term-progressbar: update to 2.21 --- .../perl_modules/perl-term-progressbar/PKGBUILD | 32 ++++++++++++---------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/abs/core/perl_modules/perl-term-progressbar/PKGBUILD b/abs/core/perl_modules/perl-term-progressbar/PKGBUILD index 133603f..d158eeb 100644 --- a/abs/core/perl_modules/perl-term-progressbar/PKGBUILD +++ b/abs/core/perl_modules/perl-term-progressbar/PKGBUILD @@ -1,23 +1,27 @@ -# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details +# $Id$ +# Maintainer: Sergej Pupykin # Maintainer: Charles Mauch pkgname=perl-term-progressbar -pkgver=2.09 -pkgrel=3 +pkgver=2.21 +pkgrel=1 pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term" -arch=("i686" "x86_64") -url="http://search.cpan.org/FLUFFY/Term-ProgressBar" +arch=("any") +url="http://search.cpan.org/dist/Term-ProgressBar" license=("GPL" "PerlArtistic") -source=("http://www.cpan.org/authors/id/F/FL/FLUFFY/Term-ProgressBar-2.09.tar.gz") -md5sums=('440dfd04fe51a12d314e9adf2445f04a') -makedepends=("perl-class-methodmaker" "perl-term-readkey") depends=("perl-class-methodmaker" "perl-term-readkey") +source=("http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/Term-ProgressBar-$pkgver.tar.gz") +sha256sums=('66994f1a6ca94d8d92e3efac406142fb0d05033360c0acce2599862db9c30e44') build() { - cd $startdir/src/Term-ProgressBar-2.09 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd "$srcdir"/Term-ProgressBar-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Term-ProgressBar-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete } -- cgit v0.12