1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-devel-nytprof
5 pkgdesc='Devel::NYTProf - Powerful fast feature-rich perl source code profiler'
6 url='http://search.cpan.org/~timb/Devel-NYTProf-4.06/'
7 depends=('perl' 'perl-json-any')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/Devel-NYTProf-$pkgver.tar.gz")
12 md5sums=('6a945649e49d353ddd083a4427f9f96c')
15 cd "$srcdir/Devel-NYTProf-$pkgver"
17 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make DESTDIR="$pkgdir" install || return 1
22 # Removing unnecessary stuff
23 find "$pkgdir" -type f -name 'perllocal.pod' -delete;
24 find "$pkgdir" -type f -name '.packlist' -delete;