[arch-commits] Commit in perl-net-dns/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 8 12:58:31 UTC 2018


    Date: Thursday, November 8, 2018 @ 12:58:30
  Author: felixonmars
Revision: 338379

update source and format

Modified:
  perl-net-dns/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 12:58:03 UTC (rev 338378)
+++ PKGBUILD	2018-11-08 12:58:30 UTC (rev 338379)
@@ -12,21 +12,21 @@
 optdepends=('perl-io-socket-inet6: IPv6 support'
             'perl-socket6: IPv6 support')
 options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz)
+source=("https://www.cpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-$pkgver.tar.gz")
 sha512sums=('715335144d023bf8ae24adc22b50198369a0a0b21a019d27c7080ebd1b3c7018e7f96952a8e9a2d6fb6a3270abfcc1aabe631cfa78d9579f2f05a88a703205b0')
 
 build() {
-  cd Net-DNS-${pkgver}
+  cd Net-DNS-$pkgver
   perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd Net-DNS-${pkgver}
+  cd Net-DNS-$pkgver
   make test
 }
 
 package() {
-  cd Net-DNS-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd Net-DNS-$pkgver
+  make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list