aports/testing/perl-sql-abstract-more/APKBUILD
Celeste ecbd93e25b testing/perl-sql-abstract-more: new aport
https://metacpan.org/release/SQL-Abstract-More/
Extension of SQL::Abstract with more constructs and more flexible API
2024-12-30 06:13:21 +00:00

48 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-sql-abstract-more
pkgver=1.43
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=SQL-Abstract-More
pkgdesc="Extension of SQL::Abstract with more constructs and more flexible API"
url="https://metacpan.org/release/SQL-Abstract-More/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl
perl-mro-compat
perl-namespace-clean
perl-params-validate
perl-sql-abstract-classic
"
makedepends="perl-module-build"
checkdepends="
perl-list-moreutils
perl-sql-abstract
perl-test-exception
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DA/DAMI/SQL-Abstract-More-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
10d827c803c259305603562d7b3f03e1cb57fdc87f4d70cd29dd5c4e8e9b67dd99ec203e078699aaf5e11f9c32a1eeb68f0ef44e60af555de2e81d1a17a1b9a0 SQL-Abstract-More-1.43.tar.gz
"