summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-term-progressbar/PKGBUILD
blob: 133603f3bace77977e2aa43ada53a4ce4d17eedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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/FLUFFY/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
}