mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-future-http
|
|
pkgver=0.17
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Future-HTTP
|
|
pkgdesc="Provide the most appropriate HTTP client with a Future API"
|
|
url="https://metacpan.org/release/Future-HTTP/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-future perl-http-message perl-moo"
|
|
checkdepends="
|
|
perl-anyevent-future perl-anyevent-http perl-future-mojo
|
|
perl-net-async-http perl-test-http-localserver
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/C/CO/CORION/Future-HTTP-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
f7f899d7eb846e2e0f69938cf1f3bab480e63ebfc98bee2e8e25a33c007e4e2aaeb40e8af644420a4c28986bf70696d15d9793f86ac52339d5e3e40729121ac7 Future-HTTP-0.17.tar.gz
|
|
"
|