updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-devel-nytprof / PKGBUILD
blob8ca3841cfaf43d661803e2f5e1ebe9522231e860
1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-devel-nytprof
3 pkgver=4.06
4 pkgrel=1
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')
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/Devel-NYTProf-$pkgver.tar.gz")
12 md5sums=('6a945649e49d353ddd083a4427f9f96c')
14 build() {
15   cd "$srcdir/Devel-NYTProf-$pkgver"
17   perl Makefile.PL INSTALLDIRS=vendor || return 1
18   make || return 1
19   make test || 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;