blob: 9fa64093310f8ba6d153a006659c51426e49d2eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-dbix-class-helpers
_pkgreal=DBIx-Class-Helpers
pkgver=2.034001
pkgrel=0
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="783384275ff0b539947baa558f34eb2487a7589eb15678be4b1aa17c285d88933f8ad8d43cc59241090fa364cc1695a5ba88bbc55883af3a30360cf8cdeef690 DBIx-Class-Helpers-2.034001.tar.gz"
|