blob: b716f99476f79035e8b12b13c8d422146068eda1 (
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
48
49
50
51
|
# 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
_pkgreal=DBIx-Class
pkgver=0.082841
pkgrel=3
pkgdesc="Extensible and flexible object <-> relational mapper."
url="https://metacpan.org/release/DBIx-Class"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-path-class perl-namespace-clean perl-context-preserve
perl-try-tiny perl-devel-globaldestruction perl-mro-compat
perl-sql-abstract perl-class-c3-componentised perl-sub-name
perl-class-inspector perl-config-any perl-module-find perl-dbi
perl-data-dumper-concise perl-class-accessor-grouped perl-scope-guard
perl-moo perl-hash-merge perl-data-page"
cpanmakedepends="perl-package-stash perl-test-exception perl-test-deep
perl-dbd-sqlite perl-test-warn"
cpancheckdepends="perl-clone-choose"
depends="$cpandepends"
makedepends="perl-dev perl-module-install $cpanmakedepends"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/$_pkgreal-$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="a9c54c0cdb7a2dc93a4b3acb90974e6db80d5eaa95c723c0c3895c99b53be00ed182d4cdc6c5350ee7f120f29172c06494d5c647b8eb4643b91387c0ffee694b DBIx-Class-0.082841.tar.gz"
|