1 # This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
2 # Contributor: James Pearson <james.m.pearson+arch@gmail.com>
3 pkgname=perl-devel-stacktrace
6 pkgdesc="Stacktrace object w/ info form caller()"
7 url="http://search.cpan.org/~DROLSKY/Devel-StackTrace"
10 depends=('perl>=5.6.2')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz)
14 md5sums=('c87982316ee6c0158d96872d5b5155f3')
17 cd $startdir/src/Devel-StackTrace-$pkgver
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make DESTDIR=$startdir/pkg install || return 1
23 # remove *.pod, .packlist:
24 /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \;
25 /usr/bin/find $startdir/pkg -name '*.pod' -exec rm '{}' \;