summaryrefslogtreecommitdiff
path: root/user/perl-test-tcp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-test-tcp/APKBUILD')
-rw-r--r--user/perl-test-tcp/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/user/perl-test-tcp/APKBUILD b/user/perl-test-tcp/APKBUILD
index 1639aeddf..ade11be97 100644
--- a/user/perl-test-tcp/APKBUILD
+++ b/user/perl-test-tcp/APKBUILD
@@ -1,18 +1,21 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-tcp
-_pkgname=Test-TCP
-pkgver=2.21
+_pkgreal=Test-TCP
+_author=MIYAGAWA
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=2.22
pkgrel=0
pkgdesc="Testing library for Perl code using TCP"
url="https://metacpan.org/release/Test-TCP"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-test-sharedfork"
-makedepends="perl-dev"
+makedepends=""
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/Test-TCP-$pkgver.tar.gz"
-builddir="$srcdir/Test-TCP-$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="488679c4100ad2f7845177e1ebc1da2a91c3ac9e094270ce1ce3cc7f83a1ea4b80b429764da7c92da37e28fd6aed9f6f07b4fba8814d81a4433c7b252a86f9d5 Test-TCP-2.21.tar.gz"
+sha512sums="2e0c8cf710f9702eee9b00422d7133efe87575805361d72becd2c3de671c765baf84827b601d26091e8a6b8595e6d9f168f90b7cfda402d668deb6fc277e37ad Test-TCP-2.22.tar.gz"