mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
55 lines
1.6 KiB
Text
55 lines
1.6 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-dbix-class-helpers
|
|
pkgver=2.037000
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=DBIx-Class-Helpers
|
|
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"
|
|
depends="
|
|
perl 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
|
|
"
|
|
checkdepends="
|
|
perl-dbd-sqlite perl-test-fatal perl-test-roo
|
|
perl-aliased perl-test-deep perl-datetime-format-sqlite
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/W/WE/WESM/DBIx-Class-Helpers-$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="
|
|
6c1832ecd9b814837209ecb21c3f25814d3c598e20c6e71bf4185e450c1b5f571aa36aa9297fa70535efe135599133d75ffd9a432f99fd1eda4fb9341c5ea6d9 DBIx-Class-Helpers-2.037000.tar.gz
|
|
"
|