Skip to content
Snippets Groups Projects
Commit bb5f61b4 authored by Celeste's avatar Celeste Committed by omni
Browse files

testing/perl-database-async: new aport

https://metacpan.org/release/Database-Async/
Database abstraction layer for IO::Async
parent 303115a0
No related branches found
No related tags found
1 merge request!59067testing/perl-database-async-engine-postgresql: new aport
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-database-async
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Database-Async
pkgver=0.019
pkgrel=0
pkgdesc="Database abstraction layer for IO::Async"
url="https://metacpan.org/release/Database-Async/"
arch="noarch !armhf !armv7 !x86" # perl-ryu
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl perl-class-method-modifiers perl-curry
perl-future perl-future-asyncawait perl-indirect
perl-io-async perl-json-maybeutf8 perl-list-utilsby
perl-log-any perl-path-tiny perl-ryu perl-ryu-async
perl-syntax-keyword-try perl-template-toolkit
perl-uri perl-uri-db perl-yaml-libyaml
"
checkdepends="perl-test-checkdeps perl-test-fatal perl-test-refcount"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Database-Async-$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
}
doc() {
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
amove "${file#"$pkgdir"}"
done
default_doc
}
sha512sums="
16fe6f0a300ef594ad2edd655fe8b48450caa54d37367d11c479aea391c6c03b45aacf41bc94b3ca039019c4b4aee22e588ec4b412a82a7de0963b0e6d65f2c9 Database-Async-0.019.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment