aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-io-async
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-io-async')
-rw-r--r--main/perl-io-async/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/perl-io-async/APKBUILD b/main/perl-io-async/APKBUILD
index 53be9db386..3c0d421029 100644
--- a/main/perl-io-async/APKBUILD
+++ b/main/perl-io-async/APKBUILD
@@ -9,28 +9,27 @@ pkgdesc="Asynchronous event-driven programming"
url="https://metacpan.org/release/IO-Async"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-cpandepends="perl-struct-dumb perl-future"
-cpanmakedepends="perl-test-refcount perl-test-fatal perl-test-identity"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends perl-module-build"
+depends="perl-struct-dumb perl-future"
+makedepends="perl-dev perl-test-refcount perl-test-fatal perl-test-identity perl-module-build"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- ./Build && ./Build test
+ ./Build
+}
+
+check() {
+ ./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}