summaryrefslogtreecommitdiff
path: root/user/perl-role-tiny/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-role-tiny/APKBUILD')
-rw-r--r--user/perl-role-tiny/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/user/perl-role-tiny/APKBUILD b/user/perl-role-tiny/APKBUILD
index 03fa86a44..91602644a 100644
--- a/user/perl-role-tiny/APKBUILD
+++ b/user/perl-role-tiny/APKBUILD
@@ -1,18 +1,21 @@
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-role-tiny
-pkgver=2.001001
+_pkgreal=Role-Tiny
+_author=HAARG
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=2.001003
pkgrel=0
pkgdesc="A minimalist role composition tool"
url="https://metacpan.org/pod/Role::Tiny"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
-makedepends="perl-dev"
-install=""
+makedepends=""
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-$pkgver.tar.gz"
-builddir="$srcdir/Role-Tiny-$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
@@ -28,4 +31,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="ea793dc17e534bd3fb5573d4445728b18dd61a77f3db25d890bf50e6d83baa245a6798276ae8bd5060478bf45a4782a2fa6b5c6a8029aed974293891bc5f8235 Role-Tiny-2.001001.tar.gz"
+sha512sums="27105e0b5daf780364b48d4d8c9bc6e845b69b70966822d853fa17882c1fb8137c117464bbb03fab0c755f2f9cc5ae9cdb636ce9f7cb3bdd6ad5bae234b52238 Role-Tiny-2.001003.tar.gz"