1 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
2 pkgname=perl-test-class
5 pkgdesc="Perl module to easily create test classes in an xUnit/JUnit style"
7 url="http://search.cpan.org/dist/Test-Class/"
8 license=("GPL" "PerlArtistic")
9 depends=("perl>=5.6.1" "perl-mro-compat") # 'perl' provides 'perl-attribute-handlers>=0.77', 'perl-test-simple'
10 checkdepends=("perl-test-exception")
12 source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Class-$pkgver.tar.gz)
13 md5sums=("9d33a80215754b4e5234e9116088f403")
16 cd "$srcdir/Test-Class-$pkgver"
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
22 cd "$srcdir/Test-Class-$pkgver"
27 cd "$srcdir/Test-Class-$pkgver"
28 make install DESTDIR="$pkgdir"