diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:07:14 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 23:07:14 -0300 |
commit | 670711c6bdbf935fb7990e136e1253066fe4dc97 (patch) | |
tree | d1474befcbf7285126722cd75293fffbdc4432e6 /testing | |
parent | 253071c4dcd65005e9c40e7658963601615176e4 (diff) | |
download | aports-670711c6bdbf935fb7990e136e1253066fe4dc97.tar.bz2 aports-670711c6bdbf935fb7990e136e1253066fe4dc97.tar.xz |
testing/perl-carp-assert: fix url fix license fix pkgdesc
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-carp-assert/APKBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/testing/perl-carp-assert/APKBUILD b/testing/perl-carp-assert/APKBUILD index 182d9e587c..2365827b93 100644 --- a/testing/perl-carp-assert/APKBUILD +++ b/testing/perl-carp-assert/APKBUILD @@ -4,37 +4,30 @@ pkgname=perl-carp-assert _pkgreal=Carp-Assert pkgver=0.21 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Carp-Assert/" +pkgrel=1 +pkgdesc="Perl module for executable comments" +url="https://metacpan.org/release/Carp-Assert" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" 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 || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |