aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-31 01:52:48 -0300
committerSören Tempel <soeren+git@soeren-tempel.net>2019-09-01 11:18:07 +0200
commit68be894598c15d180b3c46e10bbfa89df5bc6fd1 (patch)
tree2ffe7312653fbb9d18888d952c5aaf3293941f5a
parentee2e2dc8f4884d9678bd5e560ebf351436aee51b (diff)
downloadaports-68be894598c15d180b3c46e10bbfa89df5bc6fd1.tar.gz
aports-68be894598c15d180b3c46e10bbfa89df5bc6fd1.tar.bz2
aports-68be894598c15d180b3c46e10bbfa89df5bc6fd1.tar.xz
main/perl-net-dns: upgrade to 1.21
-rw-r--r--main/perl-net-dns/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/perl-net-dns/APKBUILD b/main/perl-net-dns/APKBUILD
index 06d1974b62..5f5aeb8de6 100644
--- a/main/perl-net-dns/APKBUILD
+++ b/main/perl-net-dns/APKBUILD
@@ -2,36 +2,35 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-net-dns
_pkgname=Net-DNS
-pkgver=1.20
+pkgver=1.21
pkgrel=0
pkgdesc="Perl interface to the DNS resolver"
-url="http://www.net-dns.org/"
+url="https://www.net-dns.org/"
arch="noarch"
-license="GPL+ or Artistic"
+license="GPL-1.0-or-later or Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
-install=""
subpackages="$pkgname-doc"
checkdepends="perl-digest-hmac perl-net-libidn perl-test-pod"
-source="http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/${_pkgname}-$pkgver.tar.gz"
+source="https://www.net-dns.org/download/Net-DNS-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ 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}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- # creates file collision among perl modules
+ # creates file collision among perl modules
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
@@ -40,4 +39,4 @@ check() {
make test
}
-sha512sums="1599d1b205a4d231a6b917fbc6da150fb77f13f4a16436ed0d8e582f709ab30e3af1435c26b381e8e33a8e015b5ed1f4958dfc3ba6dab58f02564e89c1d3b67e Net-DNS-1.20.tar.gz"
+sha512sums="2f2471b98f9397341c59fdbf04fa0d0a4c7a9c7586a1ddabe28c71ba9f257bfe14ac485b28e6d4fba99ee45306855d45ec5ee51b8e5b39e9a016253d084e2acb Net-DNS-1.21.tar.gz"