diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-dbix-class/APKBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/testing/perl-dbix-class/APKBUILD b/testing/perl-dbix-class/APKBUILD index c6bc546932..91a75176e4 100644 --- a/testing/perl-dbix-class/APKBUILD +++ b/testing/perl-dbix-class/APKBUILD @@ -4,14 +4,20 @@ pkgname=perl-dbix-class _pkgreal=DBIx-Class pkgver=0.082841 -pkgrel=0 +pkgrel=1 pkgdesc="Extensible and flexible object <-> relational mapper." url="http://search.cpan.org/dist/DBIx-Class/" arch="noarch" -license="GPL PerlArtistic" -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="" +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" @@ -21,27 +27,23 @@ source="http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/$_pkgreal-$pkgver. builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } |