summaryrefslogtreecommitdiff
path: root/user/perl-devel-nytprof/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-devel-nytprof/APKBUILD')
-rw-r--r--user/perl-devel-nytprof/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/user/perl-devel-nytprof/APKBUILD b/user/perl-devel-nytprof/APKBUILD
index e67a2e807..71fd0ad60 100644
--- a/user/perl-devel-nytprof/APKBUILD
+++ b/user/perl-devel-nytprof/APKBUILD
@@ -1,6 +1,10 @@
# 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"
@@ -11,8 +15,8 @@ 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"
+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