diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:09:17 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:09:17 -0300 |
commit | 4943d7a56f88fd24c4c572d9dbe488ad0125a99b (patch) | |
tree | 116d7f4f007c9c71b6443fd52ef53cd4df16bb9d | |
parent | 2db753f5a276f22d02f6a5e0a8ac271bd6370ad8 (diff) | |
download | aports-4943d7a56f88fd24c4c572d9dbe488ad0125a99b.tar.bz2 aports-4943d7a56f88fd24c4c572d9dbe488ad0125a99b.tar.xz |
testing/perl-crypt-urandom: fix url fix license
-rw-r--r-- | testing/perl-crypt-urandom/APKBUILD | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/testing/perl-crypt-urandom/APKBUILD b/testing/perl-crypt-urandom/APKBUILD index 9d2188bdfb..da781e0b86 100644 --- a/testing/perl-crypt-urandom/APKBUILD +++ b/testing/perl-crypt-urandom/APKBUILD @@ -4,43 +4,34 @@ pkgname=perl-crypt-urandom _pkgreal=Crypt-URandom pkgver=0.36 -pkgrel=0 +pkgrel=1 pkgdesc="Provide non blocking randomness" -url="http://search.cpan.org/dist/Crypt-URandom/" +url="https://metacpan.org/release/Crypt-URandom" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -cpancheckdepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -checkdepends="$cpancheckdepends" +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/D/DD/DDICK/$_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 } |