diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:55:16 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:55:16 -0300 |
commit | 8f8708be81ee31a5e29c41a35d52d41997e2651f (patch) | |
tree | 46ebe84348dc40076b263a3b240de7ee8eb963a4 /testing/perl-dbix-class-helpers | |
parent | 1339a1a6afca0fbda6de0b6971a36a724416567a (diff) | |
download | aports-8f8708be81ee31a5e29c41a35d52d41997e2651f.tar.bz2 aports-8f8708be81ee31a5e29c41a35d52d41997e2651f.tar.xz |
testing/perl-dbix-class-helpers: fix url fix license
Diffstat (limited to 'testing/perl-dbix-class-helpers')
-rw-r--r-- | testing/perl-dbix-class-helpers/APKBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/testing/perl-dbix-class-helpers/APKBUILD b/testing/perl-dbix-class-helpers/APKBUILD index f131a75bd5..1279cbe99b 100644 --- a/testing/perl-dbix-class-helpers/APKBUILD +++ b/testing/perl-dbix-class-helpers/APKBUILD @@ -4,43 +4,42 @@ pkgname=perl-dbix-class-helpers _pkgreal=DBIx-Class-Helpers pkgver=2.033003 -pkgrel=0 +pkgrel=1 pkgdesc="Simplify the common case stuff for DBIx::Class." -url="http://search.cpan.org/dist/DBIx-Class-Helpers/" +url="https://metacpan.org/release/DBIx-Class-Helpers" arch="noarch !armv7" -license="GPL PerlArtistic" -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" -cpanmakedepends="" -cpancheckdepends="perl-dbd-sqlite perl-test-fatal perl-test-roo perl-aliased perl-test-deep perl-datetime-format-sqlite" +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 $cpanmakedepends" +makedepends="perl-dev" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/F/FR/FREW/$_pkgreal-$pkgver.tar.gz" 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 } |