# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-dbix-class-helpers _pkgreal=DBIx-Class-Helpers pkgver=2.034000 pkgrel=1 pkgdesc="Simplify the common case stuff for DBIx::Class." url="https://metacpan.org/release/DBIx-Class-Helpers" arch="noarch !armv7" license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-safe-isa perl-dbix-class perl-carp-clan perl-text-brew perl-namespace-clean perl-sub-exporter-progressive perl-module-runtime perl-try-tiny perl-dbix-introspector perl-dbix-class-candy perl-lingua-en-inflect perl-moo" cpancheckdepends="perl-dbd-sqlite perl-test-fatal perl-test-roo perl-aliased perl-test-deep perl-datetime-format-sqlite" depends="$cpandepends" makedepends="perl-dev" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/F/FR/FREW/DBIx-Class-Helpers-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } sha512sums="6c0905b2dcfcee4237082480b7dd2cfaf7967efc098e8f411729ab2da833850a7a04a8a361ed544062889e0968bad091754e7205c6fde28185b317a73aeaa14b DBIx-Class-Helpers-2.034000.tar.gz"