1 # Contributor: Erik Johnson (archtaku at gmail dot com)
2 pkgname="perl-test-trap"
5 pkgdesc="Trap exit codes, exceptions, output, etc."
7 url="http://search.cpan.org/~ebhanssen/Test-Trap-v0.2.1/lib/Test/Trap.pm"
8 license=('GPL Artistic')
9 depends=('perl>=5.10.0' 'perl-test-tester' 'perl-data-dump')
17 source=("http://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/Test-Trap-v${pkgver}.tar.gz")
18 md5sums=('f52186c2cb278af91ac5743abe00e97b')
21 cd "$srcdir/Test-Trap-v$pkgver"
23 # install module in vendor directories.
24 perl Build.PL installdirs=vendor || return 1
26 ./Build test || return 1
27 ./Build install destdir="$pkgdir/" || return 1
30 # vim:set ts=2 sw=2 et: