summaryrefslogtreecommitdiff
path: root/user/perl-anyevent/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-anyevent/APKBUILD')
-rw-r--r--user/perl-anyevent/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/user/perl-anyevent/APKBUILD b/user/perl-anyevent/APKBUILD
index a321bd270..62ffcefe4 100644
--- a/user/perl-anyevent/APKBUILD
+++ b/user/perl-anyevent/APKBUILD
@@ -1,6 +1,10 @@
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-anyevent
+_pkgreal=AnyEvent
+_author=MLEHMANN
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
pkgver=7.17
pkgrel=0
pkgdesc="The DBI of event loop programming"
@@ -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/AnyEvent-$pkgver.tar.gz"
-builddir="$srcdir/AnyEvent-$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