aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-dbix-class/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-10 04:16:05 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-10 04:16:05 -0300
commit5fb3d7ea01448d1912df370e28bafacb99b59b21 (patch)
tree68c8f54a154b0389ed4f493030e2471f26cc70af /testing/perl-dbix-class/APKBUILD
parent18c1715e4ca9501631b8139d6b7670aeb33e1694 (diff)
downloadaports-5fb3d7ea01448d1912df370e28bafacb99b59b21.tar.bz2
aports-5fb3d7ea01448d1912df370e28bafacb99b59b21.tar.xz
testing/perl-dbix-class: fix license add missing checkdepend
Diffstat (limited to 'testing/perl-dbix-class/APKBUILD')
-rw-r--r--testing/perl-dbix-class/APKBUILD24
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
}