diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-26 19:18:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-26 20:10:42 +0000 |
commit | a05f7d4cef66121e6848e25448eee78619fe0c8f (patch) | |
tree | ef438c006d26d8308616b9bb37b9ce43fd52d191 /main/perl-net-dns-resolver-programmable/APKBUILD | |
parent | 976c5da194eec8b2301ffdeb9f721e15cfb81ed4 (diff) | |
download | aports-a05f7d4cef66121e6848e25448eee78619fe0c8f.tar.bz2 aports-a05f7d4cef66121e6848e25448eee78619fe0c8f.tar.xz |
main/perl-net-dns-resolver-programmable: upgrade to 0.009 and modernize
Diffstat (limited to 'main/perl-net-dns-resolver-programmable/APKBUILD')
-rw-r--r-- | main/perl-net-dns-resolver-programmable/APKBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/main/perl-net-dns-resolver-programmable/APKBUILD b/main/perl-net-dns-resolver-programmable/APKBUILD index 8c4842a57f..4617f6be6d 100644 --- a/main/perl-net-dns-resolver-programmable/APKBUILD +++ b/main/perl-net-dns-resolver-programmable/APKBUILD @@ -1,33 +1,30 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-net-dns-resolver-programmable -pkgver=0.003 -pkgrel=2 -pkgdesc="programmable DNS resolver perl class for offline emulation of DNS" -url="http://search.cpan.org/search?query=Net::DNS::Resolver::Programmable&mode=all" +_pkgname=Net-DNS-Resolver-Programmable +pkgver=0.009 +pkgrel=0 +pkgdesc="Programmable DNS resolver perl class for offline emulation of DNS" +url="https://metacpan.org/pod/Net::DNS::Resolver::Programmable" arch="noarch" license="Perl Artistic" depends="perl perl-net-dns" makedepends="perl-dev perl-module-build" -install= subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v$pkgver.tar.gz" +source="http://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/Net-DNS-Resolver-Programmable-v$pkgver -prepare() { - cd "$_builddir" -} +builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$_builddir" - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "$builddir" + perl Makefile.PL INSTALLDIRS=vendor + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name '.packlist' -o -name 'perllocal.pod' \) -delete } -sha512sums="65e3cfaff11172af7b22e203eb3acd8a0d85b4aeffc0426f3c69cd09c8cdadcd4341a2186bd58128985fd5a8ba4c695570dbfda8c4010d5a3c5b06f4e2de002f Net-DNS-Resolver-Programmable-v0.003.tar.gz" +sha512sums="a9a239ff454ba186e2a00e578615d6b25075f4e1fde548893681c169d04571c1621b023ecd2ccbb95a8fff50d8b811c410212db31a1b78f2d62977a45e90a735 Net-DNS-Resolver-Programmable-0.009.tar.gz" |