diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:55:56 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:55:56 -0300 |
commit | 429ae3d273a1eee5f32b72b8356aeb7360a69045 (patch) | |
tree | faf193abb9d41493e186b46c3ee5b2e57c9db973 /testing/perl-dbix-datasource/APKBUILD | |
parent | 8f8708be81ee31a5e29c41a35d52d41997e2651f (diff) | |
download | aports-429ae3d273a1eee5f32b72b8356aeb7360a69045.tar.bz2 aports-429ae3d273a1eee5f32b72b8356aeb7360a69045.tar.xz |
testing/perl-dbix-datasource: fix url fix license
Diffstat (limited to 'testing/perl-dbix-datasource/APKBUILD')
-rw-r--r-- | testing/perl-dbix-datasource/APKBUILD | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/testing/perl-dbix-datasource/APKBUILD b/testing/perl-dbix-datasource/APKBUILD index 47901b7b38..1da41e429d 100644 --- a/testing/perl-dbix-datasource/APKBUILD +++ b/testing/perl-dbix-datasource/APKBUILD @@ -4,15 +4,14 @@ pkgname=perl-dbix-datasource _pkgreal=DBIx-DataSource pkgver=0.02 -pkgrel=1 +pkgrel=2 pkgdesc="Database-independant create and drop functions" -url="http://search.cpan.org/dist/DBIx-DataSource/" +url="https://metacpan.org/release/DBIx-DataSource" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-dbi" -cpanmakedepends="" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/I/IV/IVAN/$_pkgreal-$pkgver.tar.gz" @@ -21,22 +20,18 @@ builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" make } check() { - cd "$builddir" make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |