summaryrefslogtreecommitdiff
path: root/user/perl-canary-stability/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-canary-stability/APKBUILD')
-rw-r--r--user/perl-canary-stability/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/user/perl-canary-stability/APKBUILD b/user/perl-canary-stability/APKBUILD
index 3aaa5ef2e..ed98b3bd1 100644
--- a/user/perl-canary-stability/APKBUILD
+++ b/user/perl-canary-stability/APKBUILD
@@ -1,6 +1,10 @@
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-canary-stability
+_pkgreal=Canary-Stability
+_author=MLEHMANN
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
pkgver=2013
pkgrel=0
pkgdesc="Canary to check Perl compatibility for schmorp's modules"
@@ -10,8 +14,8 @@ license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-$pkgver.tar.gz"
-builddir="$srcdir/Canary-Stability-$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