diff options
-rw-r--r-- | main/perl-io-async/APKBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/main/perl-io-async/APKBUILD b/main/perl-io-async/APKBUILD index 71ec32ee78..53be9db386 100644 --- a/main/perl-io-async/APKBUILD +++ b/main/perl-io-async/APKBUILD @@ -3,36 +3,36 @@ # Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> pkgname=perl-io-async _pkgreal=IO-Async -pkgver=0.72 +pkgver=0.74 pkgrel=0 pkgdesc="Asynchronous event-driven programming" -url="http://search.cpan.org/dist/IO-Async/" +url="https://metacpan.org/release/IO-Async" arch="noarch" -license="GPL PerlArtistic" +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 " +cpanmakedepends="perl-test-refcount perl-test-fatal perl-test-identity" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + cd "$builddir" + perl Build.PL installdirs=vendor } build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build && ./Build test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + cd "$builddir" + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="4d1243e7904647d94bceb300d677ed2d28e58b7b57695b9de40b19f9b5d79418516837d5f6bead3836897956aad7027213b84c1244e46ddaa335b4916fe53804 IO-Async-0.72.tar.gz" +sha512sums="99a2e7385259cbe645443c7dfdf4e9ba083f8ee3db7fa806d6576c21403c96641612c77f814dc0d7727a4391c8a375ec1ae026c955c1b34a3e172ffd7e9602b9 IO-Async-0.74.tar.gz" |