aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-27 09:36:44 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-27 09:40:32 +0100
commit2942c3764b86eccc11fd330983b3a52ce91dbf83 (patch)
tree7b01db16c0c446dd97240d0053e28385b9de89a9
parent15b693db5f0b61397ea2e94be1ba9975114e440b (diff)
downloadaports-2942c3764b86eccc11fd330983b3a52ce91dbf83.tar.gz
aports-2942c3764b86eccc11fd330983b3a52ce91dbf83.tar.bz2
aports-2942c3764b86eccc11fd330983b3a52ce91dbf83.tar.xz
main/perl-net-async-http: upgrade to 0.45
-rw-r--r--main/perl-net-async-http/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/main/perl-net-async-http/APKBUILD b/main/perl-net-async-http/APKBUILD
index 3ac7b393b1..c28ca711fa 100644
--- a/main/perl-net-async-http/APKBUILD
+++ b/main/perl-net-async-http/APKBUILD
@@ -3,10 +3,10 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-net-async-http
_pkgreal=Net-Async-HTTP
-pkgver=0.44
+pkgver=0.45
pkgrel=0
pkgdesc="Use HTTP with C<IO::Async>"
-url="http://search.cpan.org/dist/Net-Async-HTTP/"
+url="https://metacpan.org/release/Net-Async-HTTP"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb"
@@ -14,31 +14,27 @@ cpanmakedepends="perl-test-identity perl-http-cookies"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-test-refcount 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/Net-Async-HTTP-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
check() {
- cd "$builddir"
./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="e490e1e64eded28958e79324b2f954b8663c7b3790667b963b73f3e04d0bb2c20652c3442853ae92802815447af6818029c49156dd37ce3e07caa88e1431cb3e Net-Async-HTTP-0.44.tar.gz"
+sha512sums="0d50716cf73b05a55c177eb7858acb002993bace6b1aafc02b18067e9fb5583c7ed5ff49bd611b10b5186e98b2de50016720f827cf7cff82918259fca57e6f9f Net-Async-HTTP-0.45.tar.gz"