summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-term-progressbar/PKGBUILD
blob: d158eeb4a5ccba2f180e60fd56aa95c7b15e09b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-term-progressbar
pkgver=2.21
pkgrel=1
pkgdesc="Perl/CPAN Module Term::ProgressBar : Progress bar in just ASCII  using Term"
arch=("any")
url="http://search.cpan.org/dist/Term-ProgressBar"
license=("GPL" "PerlArtistic")
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 "$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
}