updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / perl-test-www-mechanize-psgi / PKGBUILD
blobae943c5b86ff57e68f40dcd968b41062d57f348f
1 # CPAN Name  : Test::WWW::Mechanize::PSGI
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.13
5 pkgname=perl-test-www-mechanize-psgi
6 pkgver=0.35
7 pkgrel=1
8 pkgdesc="Perl module to test PSGI programs using WWW::Mechanize"
9 arch=("any")
10 url="http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI"
11 license=("PerlArtistic" "GPL")
12 depends=("perl" "perl-plack" "perl-test-www-mechanize" "perl-try-tiny")
13 source=(http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/Test-WWW-Mechanize-PSGI-0.35.tar.gz)
14 options=(!emptydirs)
15 md5sums=("f8403d6ccdef06aacb9092715e2dde26")
17 build() {
18   cd "$srcdir/Test-WWW-Mechanize-PSGI-0.35"
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd "$srcdir/Test-WWW-Mechanize-PSGI-0.35"
25   make test
28 package() {
29   cd "$srcdir/Test-WWW-Mechanize-PSGI-0.35"
30   make install DESTDIR="$pkgdir"
31   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete