summaryrefslogblamecommitdiff
path: root/user/perl-devel-nytprof/APKBUILD
blob: 5488f75278dd76cfdbca55b9aa9f9c06f5870158 (plain) (tree)
1
2
3
4
5
6
7

                                                  


                               





                                                                
                                    
                      
                          
                                                                                        














                                                                                                                                                                        
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=perl-devel-nytprof
_pkgreal=Devel-NYTProf
_author=TIMB
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=6.06
pkgrel=0
pkgdesc="Powerful, fast, feature-rich Perl source code profiler"
url="https://metacpan.org/release/Devel-NYTProf"
arch="all"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl perl-file-which perl-json-maybexs"
checkdepends="perl-test-differences"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="e1fdab3208646ff9283eb606b856f0c25025479b55eddecadfdb7f9b2a9db144c003713b8abf333d03fb8ba420b7f3fbc885de360cd815d72e73ae3bffc27426  Devel-NYTProf-6.06.tar.gz"