updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / perl-devel-stacktrace / PKGBUILD
blob441eb519a4d703a2d7bb2933d677ead41da739c3
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
4 pkgver=1.26
5 pkgrel=1
6 pkgdesc="Stacktrace object w/ info form caller()"
7 url="http://search.cpan.org/~DROLSKY/Devel-StackTrace"
8 arch=('any')
9 license="GPL"
10 depends=('perl>=5.6.2')
11 makedepends=('perl')
12 options=('!emptydirs')
13 source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-$pkgver.tar.gz) 
14 md5sums=('c87982316ee6c0158d96872d5b5155f3')
16 build() {
17   cd  $startdir/src/Devel-StackTrace-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make || 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  '{}' \;