# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=perl-term-progressbar pkgver=2.20 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" 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 build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="47662ce685edb0f5e036f3e68af069eef9713eef94d662e7ecfc88e53a22e9e34ad6e3b461a5d1aecd33791653f538bc675055673ab30ec08f08f9f6192262fd Term-ProgressBar-2.20.tar.gz"