diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:56:35 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:56:35 -0300 |
commit | 1a382e1dad812656b13df465b5171ce4a37c5122 (patch) | |
tree | f2e8882047145642ff819cb4ebbc2beff320e979 /testing | |
parent | 429ae3d273a1eee5f32b72b8356aeb7360a69045 (diff) | |
download | aports-1a382e1dad812656b13df465b5171ce4a37c5122.tar.bz2 aports-1a382e1dad812656b13df465b5171ce4a37c5122.tar.xz |
testing/perl-dbix-introspector: fix url fix license
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-dbix-introspector/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/testing/perl-dbix-introspector/APKBUILD b/testing/perl-dbix-introspector/APKBUILD index c401f66ce4..548857fcd6 100644 --- a/testing/perl-dbix-introspector/APKBUILD +++ b/testing/perl-dbix-introspector/APKBUILD @@ -4,43 +4,38 @@ pkgname=perl-dbix-introspector _pkgreal=DBIx-Introspector pkgver=0.001005 -pkgrel=0 +pkgrel=1 pkgdesc="Detect what database you are connected to" -url="http://search.cpan.org/dist/DBIx-Introspector/" +url="https://metacpan.org/release/DBIx-Introspector" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-dbi perl-moo" -cpanmakedepends="" cpancheckdepends="perl-dbd-sqlite perl-test-roo" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" checkdepends="perl-test-fatal $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 } |