diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 22:59:38 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 22:59:38 -0300 |
commit | b3f6196651a462f6df89509a4f0e9460eda4f083 (patch) | |
tree | 996033a74a8e895edfb60fab819097a10d5cbcd3 /testing/perl-anyevent-dns-etchosts | |
parent | 60a130ed838e148dec762e5f6f397d46f110b678 (diff) | |
download | aports-b3f6196651a462f6df89509a4f0e9460eda4f083.tar.bz2 aports-b3f6196651a462f6df89509a4f0e9460eda4f083.tar.xz |
testing/perl-anyevent-dns-etchosts: fix url fix license
Diffstat (limited to 'testing/perl-anyevent-dns-etchosts')
-rw-r--r-- | testing/perl-anyevent-dns-etchosts/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/testing/perl-anyevent-dns-etchosts/APKBUILD b/testing/perl-anyevent-dns-etchosts/APKBUILD index 47cdfe5621..3fb85d98af 100644 --- a/testing/perl-anyevent-dns-etchosts/APKBUILD +++ b/testing/perl-anyevent-dns-etchosts/APKBUILD @@ -4,43 +4,37 @@ pkgname=perl-anyevent-dns-etchosts _pkgreal=AnyEvent-DNS-EtcHosts pkgver=0.0103 -pkgrel=0 +pkgrel=1 pkgdesc="Use /etc/hosts before DNS" -url="http://search.cpan.org/dist/AnyEvent-DNS-EtcHosts/" +url="https://metacpan.org/release/AnyEvent-DNS-EtcHosts" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-anyevent" cpanmakedepends="perl-test-deep" -cpancheckdepends="" depends="$cpandepends" makedepends="perl-dev perl-module-build $cpanmakedepends" -checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/D/DE/DEXTER/$_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 } |