diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-09-10 05:28:52 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-09-10 05:28:52 +0000 |
commit | f9ba226858a27bb322bad90ad988971f9afa8314 (patch) | |
tree | a900148a4f2b747c177d3f01fea89c6291ab100b /user | |
parent | ee8cd5c2f53b73410e492dd299f8b946b07e1806 (diff) | |
download | packages-f9ba226858a27bb322bad90ad988971f9afa8314.tar.gz packages-f9ba226858a27bb322bad90ad988971f9afa8314.tar.bz2 packages-f9ba226858a27bb322bad90ad988971f9afa8314.tar.xz packages-f9ba226858a27bb322bad90ad988971f9afa8314.zip |
user/perl-devel-nytprof: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-devel-nytprof/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/perl-devel-nytprof/APKBUILD b/user/perl-devel-nytprof/APKBUILD new file mode 100644 index 000000000..e67a2e807 --- /dev/null +++ b/user/perl-devel-nytprof/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=perl-devel-nytprof +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" +makedepends="perl-dev" +checkdepends="perl-test-differences" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TI/TIMB/Devel-NYTProf-$pkgver.tar.gz" +builddir="$srcdir/Devel-NYTProf-$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" |