diff --git a/testing/perl-data-entropy/APKBUILD b/testing/perl-data-entropy/APKBUILD index 7381fd4cb1781d9d3c42dc536c05cf468882247b..88ef9775dd112edeb0c479ab4cc22a41d3186db6 100644 --- a/testing/perl-data-entropy/APKBUILD +++ b/testing/perl-data-entropy/APKBUILD @@ -4,43 +4,37 @@ pkgname=perl-data-entropy _pkgreal=Data-Entropy pkgver=0.007 -pkgrel=0 +pkgrel=1 pkgdesc="entropy (randomness) management" url="http://search.cpan.org/dist/Data-Entropy/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-data-float perl-http-lite perl-params-classify perl-crypt-rijndael" -cpanmakedepends="perl-data-float perl-crypt-rijndael" -cpancheckdepends="" depends="$cpandepends" -makedepends="perl-dev perl-module-build $cpanmakedepends" +makedepends="perl-dev perl-module-build" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_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 Build.PL installdirs=vendor || return 1 + perl Build.PL installdirs=vendor } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } package() { - cd "$builddir" - ./Build install destdir="$pkgdir" || return 1 + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } check() { - cd "$builddir" ./Build test }