diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-10 12:51:19 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-10 12:51:26 +0000 |
commit | 53ca8f0ddb161ec54551089dafb314f46beab11c (patch) | |
tree | efc9a321f95881b0028f46a087c677d651d93dd9 /community/perl-term-progressbar | |
parent | 64b3addedf2e5825959229bae8889ff4ecc0d8ba (diff) | |
download | aports-53ca8f0ddb161ec54551089dafb314f46beab11c.tar.bz2 aports-53ca8f0ddb161ec54551089dafb314f46beab11c.tar.xz |
community/perl-term-progressbar: upgrade to 2.19
Diffstat (limited to 'community/perl-term-progressbar')
-rw-r--r-- | community/perl-term-progressbar/APKBUILD | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/community/perl-term-progressbar/APKBUILD b/community/perl-term-progressbar/APKBUILD index 236020adf6..00490c9c1b 100644 --- a/community/perl-term-progressbar/APKBUILD +++ b/community/perl-term-progressbar/APKBUILD @@ -1,34 +1,22 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-term-progressbar -pkgver=2.18 +pkgver=2.19 pkgrel=0 pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term" url="http://search.cpan.org/dist/Term-ProgressBar" arch="noarch" license="GPL" depends="perl-class-methodmaker perl-term-readkey perl-capture-tiny perl-test-exception" -depends_dev="perl-dev" -makedepends="$depends_dev" -install="" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/Term-ProgressBar-$pkgver.tar.gz" - builddir="$srcdir"/Term-ProgressBar-$pkgver -prepare() { - local i - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} build() { cd "$builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } check() { @@ -38,8 +26,8 @@ check() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="9483dfb546cf333fb03c4ea6f8d961ef67710036cfc913b1fda483cfcb05fd06161d427350d432acb178069772a8238ec1f5c429b2970cdc80f41d8105f0a8c8 Term-ProgressBar-2.18.tar.gz" +sha512sums="bd7598b6de29d5615f81a6e406e60c95ce005e2339d30e1f8b462b40ad3232db48e7f15ca8a4d5682b4bd7b51d8fd7cc70a8ec50eb9709afd05f3d37252c6d19 Term-ProgressBar-2.19.tar.gz" |