1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
3 # vim:set ts=2 sw=2 et ft=sh tw=100:
6 pkgname=perl-test-expect
11 pkgdesc='Test::Expect - Automated driving and testing of terminal-based programs'
13 url='http://search.cpan.org/~lbrocard/Test-Expect/'
14 license=('GPL' 'PerlArtistic')
18 'perl-class-accessor-chained')
21 source=("http://search.cpan.org/CPAN/authors/id/L/LB/$_author/$_perlmod-$pkgver.tar.gz")
23 cd "$srcdir/$_perlmod-$pkgver"
25 # Install module in vendor directories.
26 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
30 # cd "$srcdir/$_perlmod-$pkgver"
34 cd "$srcdir/$_perlmod-$pkgver"
35 make install DESTDIR="$pkgdir/"
37 # remove perllocal.pod and .packlist
38 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
40 md5sums=('2d30b1be2e5e390a9aa698858607e428')