PKGBUILDs/community/perl-term-progressbar/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
895 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-term-progressbar
pkgver=2.09
pkgrel=3
pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII using Term"
arch=("i686" "x86_64")
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")
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
}